Move bitmap setup to ctor in eeschema annotation options.
This commit is contained in:
parent
aafbbb4c63
commit
26c25c5475
|
@ -37,6 +37,8 @@ PANEL_EESCHEMA_ANNOTATION_OPTIONS::PANEL_EESCHEMA_ANNOTATION_OPTIONS(
|
|||
PANEL_EESCHEMA_ANNOTATION_OPTIONS_BASE( aWindow ),
|
||||
m_schSettingsProvider( schSettingsProvider )
|
||||
{
|
||||
annotate_down_right_bitmap->SetBitmap( KiBitmap( BITMAPS::annotate_down_right ) );
|
||||
annotate_right_down_bitmap->SetBitmap( KiBitmap( BITMAPS::annotate_right_down ) );
|
||||
}
|
||||
|
||||
|
||||
|
@ -72,9 +74,6 @@ void PANEL_EESCHEMA_ANNOTATION_OPTIONS::loadEEschemaSettings( EESCHEMA_SETTINGS*
|
|||
}
|
||||
|
||||
m_textNumberAfter->SetValue( wxString::Format( wxT( "%d" ), annotateStartNum ) );
|
||||
|
||||
annotate_down_right_bitmap->SetBitmap( KiBitmap( BITMAPS::annotate_down_right ) );
|
||||
annotate_right_down_bitmap->SetBitmap( KiBitmap( BITMAPS::annotate_right_down ) );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue