Fix wxWidgets alerts
Fixes #8346 https://gitlab.com/kicad/code/kicad/issues/8346
This commit is contained in:
parent
e6811c7de6
commit
aee1593678
|
@ -356,7 +356,7 @@ bool DXF_PLOTTER::StartPlot()
|
|||
- Greys (251 - 255)
|
||||
*/
|
||||
|
||||
wxASSERT( numLayers < NBCOLORS );
|
||||
wxASSERT( numLayers <= NBCOLORS );
|
||||
|
||||
for( EDA_COLOR_T i = BLACK; i < numLayers; i = static_cast<EDA_COLOR_T>( int( i ) + 1 ) )
|
||||
{
|
||||
|
|
|
@ -31,7 +31,7 @@ DIALOG_PLOT_SCHEMATIC_BASE::DIALOG_PLOT_SCHEMATIC_BASE( wxWindow* parent, wxWind
|
|||
bSizerDir->Add( m_outputDirectoryName, 1, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 4 );
|
||||
|
||||
m_browseButton = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );
|
||||
bSizerDir->Add( m_browseButton, 0, wxALIGN_CENTER_HORIZONTAL|wxRIGHT, 5 );
|
||||
bSizerDir->Add( m_browseButton, 0, wxRIGHT|wxALIGN_CENTER_VERTICAL, 5 );
|
||||
|
||||
|
||||
bMainSizer->Add( bSizerDir, 0, wxALL|wxEXPAND, 7 );
|
||||
|
|
|
@ -196,7 +196,7 @@
|
|||
</object>
|
||||
<object class="sizeritem" expanded="1">
|
||||
<property name="border">5</property>
|
||||
<property name="flag">wxALIGN_CENTER_HORIZONTAL|wxRIGHT</property>
|
||||
<property name="flag">wxRIGHT|wxALIGN_CENTER_VERTICAL</property>
|
||||
<property name="proportion">0</property>
|
||||
<object class="wxBitmapButton" expanded="1">
|
||||
<property name="BottomDockable">1</property>
|
||||
|
|
Loading…
Reference in New Issue