X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcreaDevManagerLib%2FwxCDMMainFrame.h;h=18f00a05aa8410de1a6fc6f4a8dcfa817db197d6;hb=311bdcc514f85386f3bbbef9ff6a88bf69fd930f;hp=a29fdd6109230d0ab4502fecb15e479831379f79;hpb=5413640f931dc9bc9b3c24a27f42c3cf40c35072;p=crea.git diff --git a/lib/creaDevManagerLib/wxCDMMainFrame.h b/lib/creaDevManagerLib/wxCDMMainFrame.h index a29fdd6..18f00a0 100755 --- a/lib/creaDevManagerLib/wxCDMMainFrame.h +++ b/lib/creaDevManagerLib/wxCDMMainFrame.h @@ -42,7 +42,7 @@ class wxCDMMainFrame:public wxFrame 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, @@ -53,7 +53,7 @@ public: 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, @@ -123,6 +123,10 @@ protected: //PropertiesPanel void OnCreationComplete(wxCommandEvent& event); + + //Element higlighted + void OnElementSelected(wxCommandEvent& event); + void OnElementDeselected(wxCommandEvent& event); }; #endif