Fix minor wxWidgets alerts.
This commit is contained in:
parent
c1a97fc0c3
commit
e5198e7404
|
@ -1,5 +1,5 @@
|
|||
///////////////////////////////////////////////////////////////////////////
|
||||
// C++ code generated with wxFormBuilder (version Oct 26 2018)
|
||||
// C++ code generated with wxFormBuilder (version Jul 10 2019)
|
||||
// http://www.wxformbuilder.org/
|
||||
//
|
||||
// PLEASE DO *NOT* EDIT THIS FILE!
|
||||
|
@ -101,21 +101,21 @@ APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE( wxWindow* parent, wxWindowID
|
|||
wxBoxSizer* bSizer17;
|
||||
bSizer17 = new wxBoxSizer( wxHORIZONTAL );
|
||||
|
||||
m_staticText141 = new wxStaticText( m_panelNets, wxID_ANY, wxT("Nets"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||
m_staticText141->Wrap( -1 );
|
||||
m_staticText141->SetFont( wxFont( 9, wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD, false, wxEmptyString ) );
|
||||
m_staticTextNets = new wxStaticText( m_panelNets, wxID_ANY, wxT("Nets"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||
m_staticTextNets->Wrap( -1 );
|
||||
m_staticTextNets->SetFont( wxFont( 9, wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD, false, wxEmptyString ) );
|
||||
|
||||
bSizer17->Add( m_staticText141, 1, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 5 );
|
||||
bSizer17->Add( m_staticTextNets, 1, wxALL, 5 );
|
||||
|
||||
m_txtNetFilter = new wxTextCtrl( m_panelNets, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
|
||||
m_txtNetFilter->Hide();
|
||||
|
||||
bSizer17->Add( m_txtNetFilter, 1, wxALIGN_CENTER_VERTICAL|wxEXPAND|wxLEFT|wxTOP, 5 );
|
||||
bSizer17->Add( m_txtNetFilter, 1, wxLEFT|wxTOP, 5 );
|
||||
|
||||
m_btnNetInspector = new wxBitmapButton( m_panelNets, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|wxBORDER_NONE );
|
||||
m_btnNetInspector->SetToolTip( wxT("Show the Net Inspector") );
|
||||
|
||||
bSizer17->Add( m_btnNetInspector, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP, 5 );
|
||||
bSizer17->Add( m_btnNetInspector, 0, wxLEFT|wxRIGHT|wxTOP, 5 );
|
||||
|
||||
|
||||
bSizer192->Add( bSizer17, 0, wxEXPAND, 5 );
|
||||
|
@ -135,8 +135,8 @@ APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE( wxWindow* parent, wxWindowID
|
|||
m_panelNets->Layout();
|
||||
bSizer192->Fit( m_panelNets );
|
||||
m_panelNetclasses = new wxPanel( m_netsTabSplitter, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
|
||||
wxBoxSizer* bSizer21;
|
||||
bSizer21 = new wxBoxSizer( wxVERTICAL );
|
||||
wxBoxSizer* bSizerNetClasses;
|
||||
bSizerNetClasses = new wxBoxSizer( wxVERTICAL );
|
||||
|
||||
wxBoxSizer* bSizer20;
|
||||
bSizer20 = new wxBoxSizer( wxHORIZONTAL );
|
||||
|
@ -145,7 +145,7 @@ APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE( wxWindow* parent, wxWindowID
|
|||
m_staticText14->Wrap( -1 );
|
||||
m_staticText14->SetFont( wxFont( 9, wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD, false, wxEmptyString ) );
|
||||
|
||||
bSizer20->Add( m_staticText14, 1, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 5 );
|
||||
bSizer20->Add( m_staticText14, 1, wxALL, 5 );
|
||||
|
||||
m_btnConfigureNetClasses = new wxBitmapButton( m_panelNetclasses, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|wxBORDER_NONE );
|
||||
m_btnConfigureNetClasses->SetToolTip( wxT("Configure net classes") );
|
||||
|
@ -153,7 +153,7 @@ APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE( wxWindow* parent, wxWindowID
|
|||
bSizer20->Add( m_btnConfigureNetClasses, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
|
||||
|
||||
|
||||
bSizer21->Add( bSizer20, 0, wxEXPAND, 5 );
|
||||
bSizerNetClasses->Add( bSizer20, 0, wxEXPAND, 5 );
|
||||
|
||||
m_netclassScrolledWindow = new wxScrolledWindow( m_panelNetclasses, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
|
||||
m_netclassScrolledWindow->SetScrollRate( 5, 5 );
|
||||
|
@ -163,26 +163,26 @@ APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE( wxWindow* parent, wxWindowID
|
|||
m_netclassScrolledWindow->SetSizer( m_netclassOuterSizer );
|
||||
m_netclassScrolledWindow->Layout();
|
||||
m_netclassOuterSizer->Fit( m_netclassScrolledWindow );
|
||||
bSizer21->Add( m_netclassScrolledWindow, 1, wxEXPAND | wxALL, 5 );
|
||||
bSizerNetClasses->Add( m_netclassScrolledWindow, 1, wxEXPAND | wxALL, 5 );
|
||||
|
||||
|
||||
m_panelNetclasses->SetSizer( bSizer21 );
|
||||
m_panelNetclasses->SetSizer( bSizerNetClasses );
|
||||
m_panelNetclasses->Layout();
|
||||
bSizer21->Fit( m_panelNetclasses );
|
||||
bSizerNetClasses->Fit( m_panelNetclasses );
|
||||
m_netsTabSplitter->SplitHorizontally( m_panelNets, m_panelNetclasses, 300 );
|
||||
bSizer16->Add( m_netsTabSplitter, 1, wxEXPAND, 5 );
|
||||
|
||||
m_paneNetDisplay = new wxCollapsiblePane( m_panelNetsAndClasses, wxID_ANY, wxT("Net Display Options"), wxDefaultPosition, wxDefaultSize, wxCP_DEFAULT_STYLE|wxCP_NO_TLW_RESIZE );
|
||||
m_paneNetDisplay->Collapse( true );
|
||||
m_paneNetDisplay->Collapse( false );
|
||||
|
||||
wxBoxSizer* bSizer1211;
|
||||
bSizer1211 = new wxBoxSizer( wxVERTICAL );
|
||||
wxBoxSizer* bSizerNetDisplay;
|
||||
bSizerNetDisplay = new wxBoxSizer( wxVERTICAL );
|
||||
|
||||
m_staticText131 = new wxStaticText( m_paneNetDisplay->GetPane(), wxID_ANY, wxT("Net colors:"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||
m_staticText131->Wrap( -1 );
|
||||
m_staticText131->SetToolTip( wxT("Choose when to show net and netclass colors") );
|
||||
m_staticTextNetDsplayTitle = new wxStaticText( m_paneNetDisplay->GetPane(), wxID_ANY, wxT("Net colors:"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||
m_staticTextNetDsplayTitle->Wrap( -1 );
|
||||
m_staticTextNetDsplayTitle->SetToolTip( wxT("Choose when to show net and netclass colors") );
|
||||
|
||||
bSizer1211->Add( m_staticText131, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
||||
bSizerNetDisplay->Add( m_staticTextNetDsplayTitle, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
||||
|
||||
wxBoxSizer* bSizer191;
|
||||
bSizer191 = new wxBoxSizer( wxHORIZONTAL );
|
||||
|
@ -190,26 +190,26 @@ APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE( wxWindow* parent, wxWindowID
|
|||
m_rbNetColorAll = new wxRadioButton( m_paneNetDisplay->GetPane(), wxID_ANY, wxT("All"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP );
|
||||
m_rbNetColorAll->SetToolTip( wxT("Net and netclass colors are shown on all copper items") );
|
||||
|
||||
bSizer191->Add( m_rbNetColorAll, 1, wxRIGHT|wxLEFT, 5 );
|
||||
bSizer191->Add( m_rbNetColorAll, 1, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
||||
|
||||
m_rbNetColorRatsnest = new wxRadioButton( m_paneNetDisplay->GetPane(), wxID_ANY, wxT("Ratsnest"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||
m_rbNetColorRatsnest->SetValue( true );
|
||||
m_rbNetColorRatsnest->SetToolTip( wxT("Net and netclass colors are shown on the ratsnest only") );
|
||||
|
||||
bSizer191->Add( m_rbNetColorRatsnest, 1, wxLEFT, 5 );
|
||||
bSizer191->Add( m_rbNetColorRatsnest, 1, wxBOTTOM|wxLEFT, 5 );
|
||||
|
||||
m_rbNetColorOff = new wxRadioButton( m_paneNetDisplay->GetPane(), wxID_ANY, wxT("None"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||
m_rbNetColorOff->SetToolTip( wxT("Net and netclass colors are not shown") );
|
||||
|
||||
bSizer191->Add( m_rbNetColorOff, 1, wxLEFT, 5 );
|
||||
bSizer191->Add( m_rbNetColorOff, 1, wxBOTTOM|wxLEFT, 5 );
|
||||
|
||||
|
||||
bSizer1211->Add( bSizer191, 0, wxEXPAND, 5 );
|
||||
bSizerNetDisplay->Add( bSizer191, 0, wxEXPAND, 5 );
|
||||
|
||||
|
||||
m_paneNetDisplay->GetPane()->SetSizer( bSizer1211 );
|
||||
m_paneNetDisplay->GetPane()->SetSizer( bSizerNetDisplay );
|
||||
m_paneNetDisplay->GetPane()->Layout();
|
||||
bSizer1211->Fit( m_paneNetDisplay->GetPane() );
|
||||
bSizerNetDisplay->Fit( m_paneNetDisplay->GetPane() );
|
||||
bSizer16->Add( m_paneNetDisplay, 0, wxEXPAND|wxTOP, 5 );
|
||||
|
||||
|
||||
|
@ -246,7 +246,7 @@ APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE( wxWindow* parent, wxWindowID
|
|||
m_cbLayerPresets->SetSelection( 1 );
|
||||
m_cbLayerPresets->SetToolTip( wxT("Layer presets") );
|
||||
|
||||
bPresets->Add( m_cbLayerPresets, 0, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 2 );
|
||||
bPresets->Add( m_cbLayerPresets, 0, wxALL|wxEXPAND, 2 );
|
||||
|
||||
|
||||
bBottomMargin->Add( bPresets, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
||||
|
@ -257,7 +257,6 @@ APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE( wxWindow* parent, wxWindowID
|
|||
|
||||
this->SetSizer( m_sizerOuter );
|
||||
this->Layout();
|
||||
m_sizerOuter->Fit( this );
|
||||
|
||||
// Connect Events
|
||||
this->Connect( wxEVT_SET_FOCUS, wxFocusEventHandler( APPEARANCE_CONTROLS_BASE::OnSetFocus ) );
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
<property name="file">appearance_controls_base</property>
|
||||
<property name="first_id">1000</property>
|
||||
<property name="help_provider">none</property>
|
||||
<property name="image_path_wrapper_function_name"></property>
|
||||
<property name="indent_with_spaces"></property>
|
||||
<property name="internationalize">0</property>
|
||||
<property name="name">Appearance Panel</property>
|
||||
|
@ -25,6 +26,7 @@
|
|||
<property name="skip_php_events">1</property>
|
||||
<property name="skip_python_events">1</property>
|
||||
<property name="ui_table">UI</property>
|
||||
<property name="use_array_enum">0</property>
|
||||
<property name="use_enum">0</property>
|
||||
<property name="use_microsoft_bom">0</property>
|
||||
<object class="Panel" expanded="1">
|
||||
|
@ -43,7 +45,7 @@
|
|||
<property name="minimum_size">200,360</property>
|
||||
<property name="name">APPEARANCE_CONTROLS_BASE</property>
|
||||
<property name="pos"></property>
|
||||
<property name="size">-1,-1</property>
|
||||
<property name="size">548,563</property>
|
||||
<property name="subclass">; ; forward_declare</property>
|
||||
<property name="tooltip"></property>
|
||||
<property name="window_extra_style"></property>
|
||||
|
@ -1016,7 +1018,7 @@
|
|||
<property name="permission">none</property>
|
||||
<object class="sizeritem" expanded="0">
|
||||
<property name="border">5</property>
|
||||
<property name="flag">wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND</property>
|
||||
<property name="flag">wxALL</property>
|
||||
<property name="proportion">1</property>
|
||||
<object class="wxStaticText" expanded="0">
|
||||
<property name="BottomDockable">1</property>
|
||||
|
@ -1055,7 +1057,7 @@
|
|||
<property name="minimize_button">0</property>
|
||||
<property name="minimum_size"></property>
|
||||
<property name="moveable">1</property>
|
||||
<property name="name">m_staticText141</property>
|
||||
<property name="name">m_staticTextNets</property>
|
||||
<property name="pane_border">1</property>
|
||||
<property name="pane_position"></property>
|
||||
<property name="pane_size"></property>
|
||||
|
@ -1077,7 +1079,7 @@
|
|||
</object>
|
||||
<object class="sizeritem" expanded="0">
|
||||
<property name="border">5</property>
|
||||
<property name="flag">wxALIGN_CENTER_VERTICAL|wxEXPAND|wxLEFT|wxTOP</property>
|
||||
<property name="flag">wxLEFT|wxTOP</property>
|
||||
<property name="proportion">1</property>
|
||||
<object class="wxTextCtrl" expanded="0">
|
||||
<property name="BottomDockable">1</property>
|
||||
|
@ -1141,7 +1143,7 @@
|
|||
</object>
|
||||
<object class="sizeritem" expanded="0">
|
||||
<property name="border">5</property>
|
||||
<property name="flag">wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP</property>
|
||||
<property name="flag">wxLEFT|wxRIGHT|wxTOP</property>
|
||||
<property name="proportion">0</property>
|
||||
<object class="wxBitmapButton" expanded="0">
|
||||
<property name="BottomDockable">1</property>
|
||||
|
@ -1337,7 +1339,7 @@
|
|||
<event name="OnSetFocus">OnSetFocus</event>
|
||||
<object class="wxBoxSizer" expanded="0">
|
||||
<property name="minimum_size"></property>
|
||||
<property name="name">bSizer21</property>
|
||||
<property name="name">bSizerNetClasses</property>
|
||||
<property name="orient">wxVERTICAL</property>
|
||||
<property name="permission">none</property>
|
||||
<object class="sizeritem" expanded="0">
|
||||
|
@ -1351,7 +1353,7 @@
|
|||
<property name="permission">none</property>
|
||||
<object class="sizeritem" expanded="0">
|
||||
<property name="border">5</property>
|
||||
<property name="flag">wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND</property>
|
||||
<property name="flag">wxALL</property>
|
||||
<property name="proportion">1</property>
|
||||
<object class="wxStaticText" expanded="0">
|
||||
<property name="BottomDockable">1</property>
|
||||
|
@ -1574,7 +1576,7 @@
|
|||
<property name="caption_visible">1</property>
|
||||
<property name="center_pane">0</property>
|
||||
<property name="close_button">1</property>
|
||||
<property name="collapsed">1</property>
|
||||
<property name="collapsed">0</property>
|
||||
<property name="context_help"></property>
|
||||
<property name="context_menu">1</property>
|
||||
<property name="default_pane">0</property>
|
||||
|
@ -1621,7 +1623,7 @@
|
|||
<event name="OnSetFocus">OnSetFocus</event>
|
||||
<object class="wxBoxSizer" expanded="1">
|
||||
<property name="minimum_size"></property>
|
||||
<property name="name">bSizer1211</property>
|
||||
<property name="name">bSizerNetDisplay</property>
|
||||
<property name="orient">wxVERTICAL</property>
|
||||
<property name="permission">none</property>
|
||||
<object class="sizeritem" expanded="0">
|
||||
|
@ -1665,7 +1667,7 @@
|
|||
<property name="minimize_button">0</property>
|
||||
<property name="minimum_size"></property>
|
||||
<property name="moveable">1</property>
|
||||
<property name="name">m_staticText131</property>
|
||||
<property name="name">m_staticTextNetDsplayTitle</property>
|
||||
<property name="pane_border">1</property>
|
||||
<property name="pane_position"></property>
|
||||
<property name="pane_size"></property>
|
||||
|
@ -1696,7 +1698,7 @@
|
|||
<property name="permission">none</property>
|
||||
<object class="sizeritem" expanded="0">
|
||||
<property name="border">5</property>
|
||||
<property name="flag">wxRIGHT|wxLEFT</property>
|
||||
<property name="flag">wxBOTTOM|wxRIGHT|wxLEFT</property>
|
||||
<property name="proportion">1</property>
|
||||
<object class="wxRadioButton" expanded="0">
|
||||
<property name="BottomDockable">1</property>
|
||||
|
@ -1760,7 +1762,7 @@
|
|||
</object>
|
||||
<object class="sizeritem" expanded="0">
|
||||
<property name="border">5</property>
|
||||
<property name="flag">wxLEFT</property>
|
||||
<property name="flag">wxBOTTOM|wxLEFT</property>
|
||||
<property name="proportion">1</property>
|
||||
<object class="wxRadioButton" expanded="0">
|
||||
<property name="BottomDockable">1</property>
|
||||
|
@ -1824,7 +1826,7 @@
|
|||
</object>
|
||||
<object class="sizeritem" expanded="0">
|
||||
<property name="border">5</property>
|
||||
<property name="flag">wxLEFT</property>
|
||||
<property name="flag">wxBOTTOM|wxLEFT</property>
|
||||
<property name="proportion">1</property>
|
||||
<object class="wxRadioButton" expanded="0">
|
||||
<property name="BottomDockable">1</property>
|
||||
|
@ -2049,7 +2051,7 @@
|
|||
</object>
|
||||
<object class="sizeritem" expanded="1">
|
||||
<property name="border">2</property>
|
||||
<property name="flag">wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND</property>
|
||||
<property name="flag">wxALL|wxEXPAND</property>
|
||||
<property name="proportion">0</property>
|
||||
<object class="wxChoice" expanded="1">
|
||||
<property name="BottomDockable">1</property>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
///////////////////////////////////////////////////////////////////////////
|
||||
// C++ code generated with wxFormBuilder (version Oct 26 2018)
|
||||
// C++ code generated with wxFormBuilder (version Jul 10 2019)
|
||||
// http://www.wxformbuilder.org/
|
||||
//
|
||||
// PLEASE DO *NOT* EDIT THIS FILE!
|
||||
|
@ -61,7 +61,7 @@ class APPEARANCE_CONTROLS_BASE : public wxPanel
|
|||
wxPanel* m_panelNetsAndClasses;
|
||||
wxSplitterWindow* m_netsTabSplitter;
|
||||
wxPanel* m_panelNets;
|
||||
wxStaticText* m_staticText141;
|
||||
wxStaticText* m_staticTextNets;
|
||||
wxTextCtrl* m_txtNetFilter;
|
||||
wxBitmapButton* m_btnNetInspector;
|
||||
wxScrolledWindow* m_netsScrolledWindow;
|
||||
|
@ -72,7 +72,7 @@ class APPEARANCE_CONTROLS_BASE : public wxPanel
|
|||
wxScrolledWindow* m_netclassScrolledWindow;
|
||||
wxBoxSizer* m_netclassOuterSizer;
|
||||
wxCollapsiblePane* m_paneNetDisplay;
|
||||
wxStaticText* m_staticText131;
|
||||
wxStaticText* m_staticTextNetDsplayTitle;
|
||||
wxRadioButton* m_rbNetColorAll;
|
||||
wxRadioButton* m_rbNetColorRatsnest;
|
||||
wxRadioButton* m_rbNetColorOff;
|
||||
|
@ -91,7 +91,7 @@ class APPEARANCE_CONTROLS_BASE : public wxPanel
|
|||
|
||||
public:
|
||||
|
||||
APPEARANCE_CONTROLS_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString );
|
||||
APPEARANCE_CONTROLS_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 548,563 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString );
|
||||
~APPEARANCE_CONTROLS_BASE();
|
||||
|
||||
void m_netsTabSplitterOnIdle( wxIdleEvent& )
|
||||
|
|
Loading…
Reference in New Issue