2 * wxCreaDevManagerNewProjectDialog.h
4 * Created on: 2/11/2012
8 #ifndef WXCREADEVMANAGERNEWPROJECTDIALOG_H_
9 #define WXCREADEVMANAGERNEWPROJECTDIALOG_H_
12 #include <wx/dialog.h>
13 #include "ControlCreaDevManagerMain.h"
15 class wxCreaDevManagerNewProjectDialog : public wxDialog
19 wxCreaDevManagerNewProjectDialog(
21 ControlCreaDevManagerMain* controller,
22 wxWindowID id = wxID_ANY,
23 const wxString& caption = wxString("New Project"),
24 const wxPoint& position = wxDefaultPosition,
25 const wxSize& size = wxSize(400,300),
26 long style = wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER
28 ~wxCreaDevManagerNewProjectDialog();
31 wxWindowID id = wxID_ANY,
32 const wxString& caption = wxString("New Project"),
33 const wxPoint& position = wxDefaultPosition,
34 const wxSize& size = wxSize(400,300),
35 long style = wxDEFAULT_DIALOG_STYLE
39 void CreateControls();
41 void OnCreateProject(wxCommandEvent& event);
42 void OnCancel(wxCommandEvent& event);
43 void OnChooseLocation(wxCommandEvent& event);
46 wxStaticText* projectLocation;
47 wxTextCtrl* projectName;
48 wxTextCtrl* packageAuthor;
49 wxTextCtrl* packageDescription;
51 ControlCreaDevManagerMain* Controller;
56 #endif /* WXCREADEVMANAGERNEWPROJECTDIALOG_H_ */