Move bitmap setup to ctor in eeschema annotation options.

This commit is contained in:
Alex 2023-06-05 15:03:03 +03:00
parent aafbbb4c63
commit 26c25c5475
1 changed files with 2 additions and 3 deletions

View File

@ -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 ) );
} }