public:
wxCDMMainFrame(
wxWindow* parent,
- wxWindowID id = -1,
+ wxWindowID id = wxID_ANY,
const wxString& caption = wxT("CREATIS CreaDevManager"),
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
bool Create(
wxWindow* parent,
- wxWindowID id = -1,
+ wxWindowID id = wxID_ANY,
const wxString& caption = wxT("CREATIS CreaDevManager"),
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxDEFAULT_FRAME_STYLE
);
+ modelCDMMain* GetModel() const;
+
+ void RefreshProject();
+
protected:
void CreateMenus();
void CreateControls();
//Tree
void OnTreeSelectionChanged(wxTreeEvent& event);
+
+ //PropertiesPanel
+ void OnCreationComplete(wxCommandEvent& event);
+
+ //Element higlighted
+ void OnElementSelected(wxCommandEvent& event);
+ void OnElementDeselected(wxCommandEvent& event);
};
#endif