1 /////////////////////////////////////////////////////////////////////////// 2 // C++ code generated with wxFormBuilder (version Aug 8 2018) 3 // http://www.wxformbuilder.org/ 4 // 5 // PLEASE DO *NOT* EDIT THIS FILE! 6 /////////////////////////////////////////////////////////////////////////// 7 8 #ifndef __ACTIONDIALOGBASE_H__ 9 #define __ACTIONDIALOGBASE_H__ 10 11 #include <wx/artprov.h> 12 #include <wx/xrc/xmlres.h> 13 #include <wx/string.h> 14 #include <wx/stattext.h> 15 #include <wx/gdicmn.h> 16 #include <wx/font.h> 17 #include <wx/colour.h> 18 #include <wx/settings.h> 19 #include <wx/bitmap.h> 20 #include <wx/image.h> 21 #include <wx/icon.h> 22 #include <wx/button.h> 23 #include <wx/sizer.h> 24 #include <wx/dialog.h> 25 26 /////////////////////////////////////////////////////////////////////////// 27 28 29 /////////////////////////////////////////////////////////////////////////////// 30 /// Class ActionDialogBase 31 /////////////////////////////////////////////////////////////////////////////// 32 class ActionDialogBase : public wxDialog 33 { 34 private: 35 36 protected: 37 wxStaticText* m_questionText; 38 wxButton* m_cancelButton; 39 wxButton* m_okButton; 40 41 // Virtual event handlers, overide them in your derived class onClickCancel(wxCommandEvent & event)42 virtual void onClickCancel( wxCommandEvent& event ) { event.Skip(); } onClickOK(wxCommandEvent & event)43 virtual void onClickOK( wxCommandEvent& event ) { event.Skip(); } 44 45 46 public: 47 48 ActionDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("QuestionTitle"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE ); 49 ~ActionDialogBase(); 50 51 }; 52 53 #endif //__ACTIONDIALOGBASE_H__ 54