Browse Source
Code cleaning and Fix a crash under wxWidgets 2.9.2 and Linux, related to wxFileHistory.
Code cleaning and Fix a crash under wxWidgets 2.9.2 and Linux, related to wxFileHistory.
Coding policy fixes and dialog design rules cosmetic enhancement.pull/1/head
38 changed files with 1491 additions and 1038 deletions
-
2common/basicframe.cpp
-
6cvpcb/cvframe.cpp
-
5cvpcb/cvpcb.cpp
-
3cvpcb/init.cpp
-
16cvpcb/menubar.cpp
-
6eeschema/eeschema.cpp
-
5eeschema/files-io.cpp
-
2eeschema/libeditframe.cpp
-
14eeschema/menubar.cpp
-
2eeschema/menubar_libedit.cpp
-
2eeschema/schframe.cpp
-
2gerbview/events_called_functions.cpp
-
24gerbview/menubar.cpp
-
9include/id.h
-
19include/wxstruct.h
-
2kicad/commandframe.cpp
-
10kicad/files-io.cpp
-
6kicad/kicad.cpp
-
12kicad/kicad.h
-
39kicad/mainframe.cpp
-
76kicad/menubar.cpp
-
10kicad/preferences.cpp
-
9kicad/prjconfig.cpp
-
2kicad/tree_project_frame.cpp
-
4kicad/tree_project_frame.h
-
33pcbnew/dialogs/dialog_design_rules.cpp
-
95pcbnew/dialogs/dialog_design_rules_base.cpp
-
314pcbnew/dialogs/dialog_design_rules_base.fbp
-
6pcbnew/dialogs/dialog_design_rules_base.h
-
199pcbnew/dialogs/dialog_exchange_modules_base.cpp
-
1439pcbnew/dialogs/dialog_exchange_modules_base.fbp
-
126pcbnew/dialogs/dialog_exchange_modules_base.h
-
4pcbnew/menubar_modedit.cpp
-
14pcbnew/menubar_pcbframe.cpp
-
2pcbnew/pcbframe.cpp
-
2pcbnew/pcbnew.cpp
-
6pcbnew/pcbnew_id.h
-
2pcbnew/xchgmod.cpp
@ -1,97 +1,102 @@ |
|||||
///////////////////////////////////////////////////////////////////////////
|
|
||||
// C++ code generated with wxFormBuilder (version Apr 16 2008)
|
|
||||
// http://www.wxformbuilder.org/
|
|
||||
//
|
|
||||
// PLEASE DO "NOT" EDIT THIS FILE!
|
|
||||
///////////////////////////////////////////////////////////////////////////
|
|
||||
|
|
||||
#include "dialog_exchange_modules_base.h"
|
|
||||
|
|
||||
///////////////////////////////////////////////////////////////////////////
|
|
||||
|
|
||||
DIALOG_EXCHANGE_MODULE_BASE::DIALOG_EXCHANGE_MODULE_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) |
|
||||
{ |
|
||||
this->SetSizeHints( wxDefaultSize, wxDefaultSize ); |
|
||||
|
|
||||
wxBoxSizer* bMainSizer; |
|
||||
bMainSizer = new wxBoxSizer( wxVERTICAL ); |
|
||||
|
|
||||
wxBoxSizer* bUpperSizer; |
|
||||
bUpperSizer = new wxBoxSizer( wxHORIZONTAL ); |
|
||||
|
|
||||
wxBoxSizer* bLeftSizer; |
|
||||
bLeftSizer = new wxBoxSizer( wxVERTICAL ); |
|
||||
|
|
||||
m_staticText6 = new wxStaticText( this, wxID_ANY, _("Current Module"), wxDefaultPosition, wxDefaultSize, 0 ); |
|
||||
m_staticText6->Wrap( -1 ); |
|
||||
bLeftSizer->Add( m_staticText6, 0, wxTOP|wxRIGHT|wxLEFT, 5 ); |
|
||||
|
|
||||
m_OldModule = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_READONLY ); |
|
||||
bLeftSizer->Add( m_OldModule, 0, wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND, 5 ); |
|
||||
|
|
||||
m_staticText7 = new wxStaticText( this, wxID_ANY, _("Current Value"), wxDefaultPosition, wxDefaultSize, 0 ); |
|
||||
m_staticText7->Wrap( -1 ); |
|
||||
bLeftSizer->Add( m_staticText7, 0, wxTOP|wxRIGHT|wxLEFT, 5 ); |
|
||||
|
|
||||
m_OldValue = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_READONLY ); |
|
||||
bLeftSizer->Add( m_OldValue, 0, wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND, 5 ); |
|
||||
|
|
||||
m_staticText8 = new wxStaticText( this, wxID_ANY, _("New Module"), wxDefaultPosition, wxDefaultSize, 0 ); |
|
||||
m_staticText8->Wrap( -1 ); |
|
||||
bLeftSizer->Add( m_staticText8, 0, wxTOP|wxRIGHT|wxLEFT, 5 ); |
|
||||
|
|
||||
m_NewModule = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); |
|
||||
bLeftSizer->Add( m_NewModule, 0, wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND, 5 ); |
|
||||
|
|
||||
bUpperSizer->Add( bLeftSizer, 1, 0, 5 ); |
|
||||
|
|
||||
wxBoxSizer* bMiddleSizer; |
|
||||
bMiddleSizer = new wxBoxSizer( wxVERTICAL ); |
|
||||
|
|
||||
wxString m_SelectionChoices[] = { _("Change module"), _("Change same modules"), _("Ch. same module+value"), _("Change all") }; |
|
||||
int m_SelectionNChoices = sizeof( m_SelectionChoices ) / sizeof( wxString ); |
|
||||
m_Selection = new wxRadioBox( this, ID_SELECTION_CLICKED, _("Browse Libs modules"), wxDefaultPosition, wxDefaultSize, m_SelectionNChoices, m_SelectionChoices, 1, wxRA_SPECIFY_COLS ); |
|
||||
m_Selection->SetSelection( 0 ); |
|
||||
bMiddleSizer->Add( m_Selection, 0, wxALL, 5 ); |
|
||||
|
|
||||
bUpperSizer->Add( bMiddleSizer, 0, wxALIGN_CENTER_VERTICAL, 5 ); |
|
||||
|
|
||||
wxBoxSizer* bRightSizer; |
|
||||
bRightSizer = new wxBoxSizer( wxVERTICAL ); |
|
||||
|
|
||||
m_OKbutton = new wxButton( this, wxID_OK, _("OK"), wxDefaultPosition, wxDefaultSize, 0 ); |
|
||||
bRightSizer->Add( m_OKbutton, 0, wxALL, 5 ); |
|
||||
|
|
||||
m_Quitbutton = new wxButton( this, wxID_CANCEL, _("Quit"), wxDefaultPosition, wxDefaultSize, 0 ); |
|
||||
bRightSizer->Add( m_Quitbutton, 0, wxALL, 5 ); |
|
||||
|
|
||||
m_Browsebutton = new wxButton( this, wxID_ANY, _("Browse"), wxDefaultPosition, wxDefaultSize, 0 ); |
|
||||
bRightSizer->Add( m_Browsebutton, 0, wxALL, 5 ); |
|
||||
|
|
||||
bUpperSizer->Add( bRightSizer, 0, wxALIGN_CENTER_VERTICAL, 5 ); |
|
||||
|
|
||||
bMainSizer->Add( bUpperSizer, 0, wxEXPAND, 5 ); |
|
||||
|
|
||||
m_WinMessages = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY ); |
|
||||
m_WinMessages->SetMinSize( wxSize( 450,300 ) ); |
|
||||
|
|
||||
bMainSizer->Add( m_WinMessages, 1, wxALL|wxEXPAND, 5 ); |
|
||||
|
|
||||
this->SetSizer( bMainSizer ); |
|
||||
this->Layout(); |
|
||||
|
|
||||
// Connect Events
|
|
||||
m_Selection->Connect( wxEVT_COMMAND_RADIOBOX_SELECTED, wxCommandEventHandler( DIALOG_EXCHANGE_MODULE_BASE::OnSelectionClicked ), NULL, this ); |
|
||||
m_OKbutton->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_EXCHANGE_MODULE_BASE::OnOkClick ), NULL, this ); |
|
||||
m_Quitbutton->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_EXCHANGE_MODULE_BASE::OnQuit ), NULL, this ); |
|
||||
m_Browsebutton->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_EXCHANGE_MODULE_BASE::BrowseAndSelectFootprint ), NULL, this ); |
|
||||
} |
|
||||
|
|
||||
DIALOG_EXCHANGE_MODULE_BASE::~DIALOG_EXCHANGE_MODULE_BASE() |
|
||||
{ |
|
||||
// Disconnect Events
|
|
||||
m_Selection->Disconnect( wxEVT_COMMAND_RADIOBOX_SELECTED, wxCommandEventHandler( DIALOG_EXCHANGE_MODULE_BASE::OnSelectionClicked ), NULL, this ); |
|
||||
m_OKbutton->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_EXCHANGE_MODULE_BASE::OnOkClick ), NULL, this ); |
|
||||
m_Quitbutton->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_EXCHANGE_MODULE_BASE::OnQuit ), NULL, this ); |
|
||||
m_Browsebutton->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_EXCHANGE_MODULE_BASE::BrowseAndSelectFootprint ), NULL, this ); |
|
||||
} |
|
||||
|
///////////////////////////////////////////////////////////////////////////
|
||||
|
// C++ code generated with wxFormBuilder (version Nov 17 2010)
|
||||
|
// http://www.wxformbuilder.org/
|
||||
|
//
|
||||
|
// PLEASE DO "NOT" EDIT THIS FILE!
|
||||
|
///////////////////////////////////////////////////////////////////////////
|
||||
|
|
||||
|
#include "dialog_exchange_modules_base.h"
|
||||
|
|
||||
|
///////////////////////////////////////////////////////////////////////////
|
||||
|
|
||||
|
DIALOG_EXCHANGE_MODULE_BASE::DIALOG_EXCHANGE_MODULE_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) |
||||
|
{ |
||||
|
this->SetSizeHints( wxDefaultSize, wxDefaultSize ); |
||||
|
|
||||
|
wxBoxSizer* bMainSizer; |
||||
|
bMainSizer = new wxBoxSizer( wxVERTICAL ); |
||||
|
|
||||
|
wxBoxSizer* bUpperSizer; |
||||
|
bUpperSizer = new wxBoxSizer( wxHORIZONTAL ); |
||||
|
|
||||
|
wxBoxSizer* bLeftSizer; |
||||
|
bLeftSizer = new wxBoxSizer( wxVERTICAL ); |
||||
|
|
||||
|
m_staticText6 = new wxStaticText( this, wxID_ANY, _("Current Module"), wxDefaultPosition, wxDefaultSize, 0 ); |
||||
|
m_staticText6->Wrap( -1 ); |
||||
|
bLeftSizer->Add( m_staticText6, 0, wxTOP|wxRIGHT|wxLEFT, 5 ); |
||||
|
|
||||
|
m_OldModule = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_READONLY ); |
||||
|
bLeftSizer->Add( m_OldModule, 0, wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND, 5 ); |
||||
|
|
||||
|
m_staticText7 = new wxStaticText( this, wxID_ANY, _("Current Value"), wxDefaultPosition, wxDefaultSize, 0 ); |
||||
|
m_staticText7->Wrap( -1 ); |
||||
|
bLeftSizer->Add( m_staticText7, 0, wxTOP|wxRIGHT|wxLEFT, 5 ); |
||||
|
|
||||
|
m_OldValue = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_READONLY ); |
||||
|
bLeftSizer->Add( m_OldValue, 0, wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND, 5 ); |
||||
|
|
||||
|
m_staticText8 = new wxStaticText( this, wxID_ANY, _("New Module"), wxDefaultPosition, wxDefaultSize, 0 ); |
||||
|
m_staticText8->Wrap( -1 ); |
||||
|
bLeftSizer->Add( m_staticText8, 0, wxTOP|wxRIGHT|wxLEFT, 5 ); |
||||
|
|
||||
|
m_NewModule = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); |
||||
|
bLeftSizer->Add( m_NewModule, 0, wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND, 5 ); |
||||
|
|
||||
|
bUpperSizer->Add( bLeftSizer, 1, 0, 5 ); |
||||
|
|
||||
|
wxBoxSizer* bMiddleSizer; |
||||
|
bMiddleSizer = new wxBoxSizer( wxVERTICAL ); |
||||
|
|
||||
|
wxString m_SelectionChoices[] = { _("Change module"), _("Change same modules"), _("Ch. same module+value"), _("Change all") }; |
||||
|
int m_SelectionNChoices = sizeof( m_SelectionChoices ) / sizeof( wxString ); |
||||
|
m_Selection = new wxRadioBox( this, ID_SELECTION_CLICKED, _("Browse Libs modules"), wxDefaultPosition, wxDefaultSize, m_SelectionNChoices, m_SelectionChoices, 1, wxRA_SPECIFY_COLS ); |
||||
|
m_Selection->SetSelection( 0 ); |
||||
|
bMiddleSizer->Add( m_Selection, 0, wxALL, 5 ); |
||||
|
|
||||
|
bUpperSizer->Add( bMiddleSizer, 0, wxALIGN_CENTER_VERTICAL, 5 ); |
||||
|
|
||||
|
wxBoxSizer* bRightSizer; |
||||
|
bRightSizer = new wxBoxSizer( wxVERTICAL ); |
||||
|
|
||||
|
m_OKbutton = new wxButton( this, wxID_OK, _("OK"), wxDefaultPosition, wxDefaultSize, 0 ); |
||||
|
bRightSizer->Add( m_OKbutton, 0, wxALL, 5 ); |
||||
|
|
||||
|
m_Quitbutton = new wxButton( this, wxID_CANCEL, _("Close"), wxDefaultPosition, wxDefaultSize, 0 ); |
||||
|
bRightSizer->Add( m_Quitbutton, 0, wxALL, 5 ); |
||||
|
|
||||
|
m_Browsebutton = new wxButton( this, wxID_ANY, _("Browse"), wxDefaultPosition, wxDefaultSize, 0 ); |
||||
|
bRightSizer->Add( m_Browsebutton, 0, wxALL, 5 ); |
||||
|
|
||||
|
bUpperSizer->Add( bRightSizer, 0, wxALIGN_CENTER_VERTICAL, 5 ); |
||||
|
|
||||
|
bMainSizer->Add( bUpperSizer, 0, wxEXPAND, 5 ); |
||||
|
|
||||
|
m_staticTextMsg = new wxStaticText( this, wxID_ANY, _("Messages:"), wxDefaultPosition, wxDefaultSize, 0 ); |
||||
|
m_staticTextMsg->Wrap( -1 ); |
||||
|
bMainSizer->Add( m_staticTextMsg, 0, wxTOP|wxRIGHT|wxLEFT, 5 ); |
||||
|
|
||||
|
m_WinMessages = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY ); |
||||
|
m_WinMessages->SetMinSize( wxSize( 450,300 ) ); |
||||
|
|
||||
|
bMainSizer->Add( m_WinMessages, 1, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 ); |
||||
|
|
||||
|
this->SetSizer( bMainSizer ); |
||||
|
this->Layout(); |
||||
|
|
||||
|
// Connect Events
|
||||
|
m_Selection->Connect( wxEVT_COMMAND_RADIOBOX_SELECTED, wxCommandEventHandler( DIALOG_EXCHANGE_MODULE_BASE::OnSelectionClicked ), NULL, this ); |
||||
|
m_OKbutton->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_EXCHANGE_MODULE_BASE::OnOkClick ), NULL, this ); |
||||
|
m_Quitbutton->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_EXCHANGE_MODULE_BASE::OnQuit ), NULL, this ); |
||||
|
m_Browsebutton->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_EXCHANGE_MODULE_BASE::BrowseAndSelectFootprint ), NULL, this ); |
||||
|
} |
||||
|
|
||||
|
DIALOG_EXCHANGE_MODULE_BASE::~DIALOG_EXCHANGE_MODULE_BASE() |
||||
|
{ |
||||
|
// Disconnect Events
|
||||
|
m_Selection->Disconnect( wxEVT_COMMAND_RADIOBOX_SELECTED, wxCommandEventHandler( DIALOG_EXCHANGE_MODULE_BASE::OnSelectionClicked ), NULL, this ); |
||||
|
m_OKbutton->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_EXCHANGE_MODULE_BASE::OnOkClick ), NULL, this ); |
||||
|
m_Quitbutton->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_EXCHANGE_MODULE_BASE::OnQuit ), NULL, this ); |
||||
|
m_Browsebutton->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_EXCHANGE_MODULE_BASE::BrowseAndSelectFootprint ), NULL, this ); |
||||
|
|
||||
|
} |
||||
1439
pcbnew/dialogs/dialog_exchange_modules_base.fbp
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -1,62 +1,64 @@ |
|||||
/////////////////////////////////////////////////////////////////////////// |
|
||||
// C++ code generated with wxFormBuilder (version Apr 16 2008) |
|
||||
// http://www.wxformbuilder.org/ |
|
||||
// |
|
||||
// PLEASE DO "NOT" EDIT THIS FILE! |
|
||||
/////////////////////////////////////////////////////////////////////////// |
|
||||
|
|
||||
#ifndef __dialog_exchange_modules_base__ |
|
||||
#define __dialog_exchange_modules_base__ |
|
||||
|
|
||||
#include <wx/intl.h> |
|
||||
|
|
||||
#include <wx/string.h> |
|
||||
#include <wx/stattext.h> |
|
||||
#include <wx/gdicmn.h> |
|
||||
#include <wx/font.h> |
|
||||
#include <wx/colour.h> |
|
||||
#include <wx/settings.h> |
|
||||
#include <wx/textctrl.h> |
|
||||
#include <wx/sizer.h> |
|
||||
#include <wx/radiobox.h> |
|
||||
#include <wx/button.h> |
|
||||
#include <wx/dialog.h> |
|
||||
|
|
||||
/////////////////////////////////////////////////////////////////////////// |
|
||||
|
|
||||
#define ID_SELECTION_CLICKED 1000 |
|
||||
|
|
||||
/////////////////////////////////////////////////////////////////////////////// |
|
||||
/// Class DIALOG_EXCHANGE_MODULE_BASE |
|
||||
/////////////////////////////////////////////////////////////////////////////// |
|
||||
class DIALOG_EXCHANGE_MODULE_BASE : public wxDialog |
|
||||
{ |
|
||||
private: |
|
||||
|
|
||||
protected: |
|
||||
wxStaticText* m_staticText6; |
|
||||
wxTextCtrl* m_OldModule; |
|
||||
wxStaticText* m_staticText7; |
|
||||
wxTextCtrl* m_OldValue; |
|
||||
wxStaticText* m_staticText8; |
|
||||
wxTextCtrl* m_NewModule; |
|
||||
wxRadioBox* m_Selection; |
|
||||
wxButton* m_OKbutton; |
|
||||
wxButton* m_Quitbutton; |
|
||||
wxButton* m_Browsebutton; |
|
||||
wxTextCtrl* m_WinMessages; |
|
||||
|
|
||||
// Virtual event handlers, overide them in your derived class |
|
||||
virtual void OnSelectionClicked( wxCommandEvent& event ){ event.Skip(); } |
|
||||
virtual void OnOkClick( wxCommandEvent& event ){ event.Skip(); } |
|
||||
virtual void OnQuit( wxCommandEvent& event ){ event.Skip(); } |
|
||||
virtual void BrowseAndSelectFootprint( wxCommandEvent& event ){ event.Skip(); } |
|
||||
|
|
||||
|
|
||||
public: |
|
||||
DIALOG_EXCHANGE_MODULE_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Exchange Modules"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 416,469 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER ); |
|
||||
~DIALOG_EXCHANGE_MODULE_BASE(); |
|
||||
|
|
||||
}; |
|
||||
|
|
||||
#endif //__dialog_exchange_modules_base__ |
|
||||
|
/////////////////////////////////////////////////////////////////////////// |
||||
|
// C++ code generated with wxFormBuilder (version Nov 17 2010) |
||||
|
// http://www.wxformbuilder.org/ |
||||
|
// |
||||
|
// PLEASE DO "NOT" EDIT THIS FILE! |
||||
|
/////////////////////////////////////////////////////////////////////////// |
||||
|
|
||||
|
#ifndef __dialog_exchange_modules_base__ |
||||
|
#define __dialog_exchange_modules_base__ |
||||
|
|
||||
|
#include <wx/intl.h> |
||||
|
|
||||
|
#include <wx/string.h> |
||||
|
#include <wx/stattext.h> |
||||
|
#include <wx/gdicmn.h> |
||||
|
#include <wx/font.h> |
||||
|
#include <wx/colour.h> |
||||
|
#include <wx/settings.h> |
||||
|
#include <wx/textctrl.h> |
||||
|
#include <wx/sizer.h> |
||||
|
#include <wx/radiobox.h> |
||||
|
#include <wx/button.h> |
||||
|
#include <wx/dialog.h> |
||||
|
|
||||
|
/////////////////////////////////////////////////////////////////////////// |
||||
|
|
||||
|
#define ID_SELECTION_CLICKED 1000 |
||||
|
|
||||
|
/////////////////////////////////////////////////////////////////////////////// |
||||
|
/// Class DIALOG_EXCHANGE_MODULE_BASE |
||||
|
/////////////////////////////////////////////////////////////////////////////// |
||||
|
class DIALOG_EXCHANGE_MODULE_BASE : public wxDialog |
||||
|
{ |
||||
|
private: |
||||
|
|
||||
|
protected: |
||||
|
wxStaticText* m_staticText6; |
||||
|
wxTextCtrl* m_OldModule; |
||||
|
wxStaticText* m_staticText7; |
||||
|
wxTextCtrl* m_OldValue; |
||||
|
wxStaticText* m_staticText8; |
||||
|
wxTextCtrl* m_NewModule; |
||||
|
wxRadioBox* m_Selection; |
||||
|
wxButton* m_OKbutton; |
||||
|
wxButton* m_Quitbutton; |
||||
|
wxButton* m_Browsebutton; |
||||
|
wxStaticText* m_staticTextMsg; |
||||
|
wxTextCtrl* m_WinMessages; |
||||
|
|
||||
|
// Virtual event handlers, overide them in your derived class |
||||
|
virtual void OnSelectionClicked( wxCommandEvent& event ) { event.Skip(); } |
||||
|
virtual void OnOkClick( wxCommandEvent& event ) { event.Skip(); } |
||||
|
virtual void OnQuit( wxCommandEvent& event ) { event.Skip(); } |
||||
|
virtual void BrowseAndSelectFootprint( wxCommandEvent& event ) { event.Skip(); } |
||||
|
|
||||
|
|
||||
|
public: |
||||
|
|
||||
|
DIALOG_EXCHANGE_MODULE_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Exchange Modules"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 416,469 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER ); |
||||
|
~DIALOG_EXCHANGE_MODULE_BASE(); |
||||
|
|
||||
|
}; |
||||
|
|
||||
|
#endif //__dialog_exchange_modules_base__ |
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue