Move bitmap setup to ctor in eeschema annotation options.
(cherry picked from commit 26c25c5475
)
This commit is contained in:
parent
c0445ed857
commit
bfcdec47c1
|
@ -37,6 +37,8 @@ PANEL_EESCHEMA_ANNOTATION_OPTIONS::PANEL_EESCHEMA_ANNOTATION_OPTIONS(
|
||||||
PANEL_EESCHEMA_ANNOTATION_OPTIONS_BASE( aWindow ),
|
PANEL_EESCHEMA_ANNOTATION_OPTIONS_BASE( aWindow ),
|
||||||
m_schSettingsProvider( schSettingsProvider )
|
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 ) );
|
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