1 #ifndef MAKEFILEDLG_H 2 #define MAKEFILEDLG_H 3 4 //(*Headers(MakefileDlg) 5 #include <wx/button.h> 6 #include <wx/dialog.h> 7 #include <wx/sizer.h> 8 #include <wx/stattext.h> 9 #include <wx/textctrl.h> 10 //*) 11 12 class MakefileDlg: public wxDialog 13 { 14 public: 15 16 MakefileDlg(wxWindow* parent,wxWindowID id=wxID_ANY); ~MakefileDlgnull17 virtual ~MakefileDlg(); 18 19 void SetFilename(const wxString& fname); GetFilenamenull20 wxString GetFilename(); 21 22 //(*Declarations(MakefileDlg) 23 wxButton* btChooseFileName; 24 wxStaticText* StaticText2; 25 wxTextCtrl* tcMakefileName; 26 //*) 27 28 protected: 29 30 //(*Identifiers(MakefileDlg) 31 static const long ID_STATICTEXT2; 32 static const long ID_TEXTCTRL1; 33 static const long ID_BUTTON1; 34 //*) 35 36 private: 37 38 //(*Handlers(MakefileDlg) 39 void OnInit(wxInitDialogEvent& event); 40 void OnbtChooseFileNameClick(wxCommandEvent& event); 41 //*) 42 DECLARE_EVENT_TABLEnull43 DECLARE_EVENT_TABLE() 44 }; 45 46 #endif 47