]> Creatis software - crea.git/blob - lib/creaDevManagerLib/wxCDMMainDescriptionPanel.h
Feature #1711
[crea.git] / lib / creaDevManagerLib / wxCDMMainDescriptionPanel.h
1 /*
2  * wxCDMMainDescriptionPanel.h
3  *
4  *  Created on: 13/11/2012
5  *      Author: daniel
6  */
7
8 #ifndef WXCDMMAINDESCRIPTIONPANEL_H_
9 #define WXCDMMAINDESCRIPTIONPANEL_H_
10
11 #include <creaWx.h>
12 #include <wx/panel.h>
13
14 class wxCDMMainDescriptionPanel : public wxPanel
15 {
16 public:
17     wxCDMMainDescriptionPanel(
18         wxWindow* parent,
19         wxWindowID id = -1,
20         const wxString& caption = _("Description Frame"),
21         const wxPoint& pos = wxDefaultPosition,
22         const wxSize& size = wxDefaultSize,
23         long style = wxDEFAULT_FRAME_STYLE
24     );
25
26     ~wxCDMMainDescriptionPanel();
27
28     bool Create(
29         wxWindow* parent,
30         wxWindowID id = -1,
31         const wxString& caption = _("Description Frame"),
32         const wxPoint& pos = wxDefaultPosition,
33         const wxSize& size = wxDefaultSize,
34         long style = wxDEFAULT_FRAME_STYLE
35     );
36
37     void CreateControls();
38
39 //handlers
40 protected:
41     void OnBtnNewProject(wxCommandEvent& event);
42     void OnBtnOpenProject(wxCommandEvent& event);
43 };
44
45 #endif /* WXCDMMAINDESCRIPTIONPANEL_H_ */