Fix a wxWidgets alert.

This commit is contained in:
jean-pierre charras 2025-05-04 10:53:01 +02:00
parent 3f25b36ff1
commit 72b92e1cfd
2 changed files with 3 additions and 4 deletions

View File

@ -194,7 +194,7 @@
<property name="cols">3</property> <property name="cols">3</property>
<property name="flexible_direction">wxHORIZONTAL</property> <property name="flexible_direction">wxHORIZONTAL</property>
<property name="growablecols">0,2</property> <property name="growablecols">0,2</property>
<property name="growablerows">0,2</property> <property name="growablerows">0</property>
<property name="hgap">0</property> <property name="hgap">0</property>
<property name="minimum_size"></property> <property name="minimum_size"></property>
<property name="name">m_customizeControls</property> <property name="name">m_customizeControls</property>
@ -836,7 +836,7 @@
<property name="resize">Resizable</property> <property name="resize">Resizable</property>
<property name="show">1</property> <property name="show">1</property>
<property name="size"></property> <property name="size"></property>
<property name="style">wxLC_ICON|wxLC_NO_HEADER|wxLC_REPORT|wxLC_SINGLE_SEL</property> <property name="style">wxLC_NO_HEADER|wxLC_REPORT|wxLC_SINGLE_SEL</property>
<property name="subclass">; ; forward_declare</property> <property name="subclass">; ; forward_declare</property>
<property name="toolbar_pane">0</property> <property name="toolbar_pane">0</property>
<property name="tooltip"></property> <property name="tooltip"></property>

View File

@ -27,7 +27,6 @@ PANEL_TOOLBAR_CUSTOMIZATION_BASE::PANEL_TOOLBAR_CUSTOMIZATION_BASE( wxWindow* pa
m_customizeControls->AddGrowableCol( 0 ); m_customizeControls->AddGrowableCol( 0 );
m_customizeControls->AddGrowableCol( 2 ); m_customizeControls->AddGrowableCol( 2 );
m_customizeControls->AddGrowableRow( 0 ); m_customizeControls->AddGrowableRow( 0 );
m_customizeControls->AddGrowableRow( 2 );
m_customizeControls->SetFlexibleDirection( wxHORIZONTAL ); m_customizeControls->SetFlexibleDirection( wxHORIZONTAL );
m_customizeControls->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); m_customizeControls->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
@ -96,7 +95,7 @@ PANEL_TOOLBAR_CUSTOMIZATION_BASE::PANEL_TOOLBAR_CUSTOMIZATION_BASE( wxWindow* pa
wxBoxSizer* bSizer9; wxBoxSizer* bSizer9;
bSizer9 = new wxBoxSizer( wxHORIZONTAL ); bSizer9 = new wxBoxSizer( wxHORIZONTAL );
m_actionsList = new wxListCtrl( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_ICON|wxLC_NO_HEADER|wxLC_REPORT|wxLC_SINGLE_SEL ); m_actionsList = new wxListCtrl( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_NO_HEADER|wxLC_REPORT|wxLC_SINGLE_SEL );
bSizer9->Add( m_actionsList, 0, wxALL|wxEXPAND, 5 ); bSizer9->Add( m_actionsList, 0, wxALL|wxEXPAND, 5 );