KiCad PCB EDA Suite
dialog_get_component_base.h
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version Nov 22 2017)
3 // http://www.wxformbuilder.org/
4 //
5 // PLEASE DO *NOT* EDIT THIS FILE!
7 
8 #ifndef __DIALOG_GET_COMPONENT_BASE_H__
9 #define __DIALOG_GET_COMPONENT_BASE_H__
10 
11 #include <wx/artprov.h>
12 #include <wx/xrc/xmlres.h>
13 #include <wx/intl.h>
14 #include "dialog_shim.h"
15 #include <wx/string.h>
16 #include <wx/stattext.h>
17 #include <wx/gdicmn.h>
18 #include <wx/font.h>
19 #include <wx/colour.h>
20 #include <wx/settings.h>
21 #include <wx/textctrl.h>
22 #include <wx/listbox.h>
23 #include <wx/sizer.h>
24 #include <wx/button.h>
25 #include <wx/statline.h>
26 #include <wx/dialog.h>
27 
29 
30 #define ID_SEL_BY_LISTBOX 1000
31 #define ID_ACCEPT_KEYWORD 1001
32 #define ID_LIST_ALL 1002
33 #define ID_EXTRA_TOOL 1003
34 
39 {
40  private:
41 
42  protected:
43  wxStaticText* m_staticTextName;
44  wxTextCtrl* m_textCmpNameCtrl;
45  wxStaticText* m_staticTextHistory;
46  wxListBox* m_historyList;
47  wxButton* m_buttonKW;
48  wxButton* m_buttonList;
49  wxButton* m_buttonBrowse;
50  wxStaticLine* m_staticline1;
51  wxStdDialogButtonSizer* m_sdbSizer;
52  wxButton* m_sdbSizerOK;
53  wxButton* m_sdbSizerCancel;
54 
55  // Virtual event handlers, overide them in your derived class
56  virtual void Accept( wxCommandEvent& event ) { event.Skip(); }
57  virtual void GetExtraSelection( wxCommandEvent& event ) { event.Skip(); }
58  virtual void OnCancel( wxCommandEvent& event ) { event.Skip(); }
59 
60 
61  public:
62 
63  DIALOG_GET_COMPONENT_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
65 
66 };
67 
68 #endif //__DIALOG_GET_COMPONENT_BASE_H__
Class DIALOG_GET_COMPONENT_BASE.
Class DIALOG_SHIM may sit in the inheritance tree between wxDialog and any class written by wxFormBui...
Definition: dialog_shim.h:70
virtual void Accept(wxCommandEvent &event)
wxStdDialogButtonSizer * m_sdbSizer
virtual void OnCancel(wxCommandEvent &event)
DIALOG_GET_COMPONENT_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=wxEmptyString, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
virtual void GetExtraSelection(wxCommandEvent &event)