]> Creatis software - creaContours.git/commitdiff
#3385 vtk9itk5wx3-macos
authorEduardo Enrique Davila Serrano <davila@creatis.insa-lyon.fr>
Mon, 3 Oct 2022 10:26:08 +0000 (12:26 +0200)
committerEduardo Enrique Davila Serrano <davila@creatis.insa-lyon.fr>
Mon, 3 Oct 2022 10:26:08 +0000 (12:26 +0200)
15 files changed:
lib/Interface_ManagerContour_NDimensions/wxConceptControl.cxx
lib/Interface_ManagerContour_NDimensions/wxConceptControl.h
lib/Interface_ManagerContour_NDimensions/wxContour_ButtonsBar.h
lib/Interface_ManagerContour_NDimensions/wxContour_ControlPanel.cxx
lib/Interface_ManagerContour_NDimensions/wxContour_ControlPanel.h
lib/Interface_ManagerContour_NDimensions/wxContour_Grid.cxx
lib/Interface_ManagerContour_NDimensions/wxContour_Grid.h
lib/Interface_ManagerContour_NDimensions/wxContour_MenuBar.cxx
lib/Interface_ManagerContour_NDimensions/wxContour_MenuBar.h
lib/Interface_ManagerContour_NDimensions/wxContour_OperationsToolsPanel.cxx
lib/Interface_ManagerContour_NDimensions/wxContour_OperationsToolsPanel.h
lib/Interface_ManagerContour_NDimensions/wxContour_StandardToolsPanel.cxx
lib/Interface_ManagerContour_NDimensions/wxContour_StandardToolsPanel.h
lib/Interface_ManagerContour_NDimensions/wxVtkBaseView_SceneManager.cxx
lib/Interface_ManagerContour_NDimensions/wxVtkBaseView_SceneManager.h

index a205f95a1bccf7d77466cdbc0c30a273bd8b8597..6746cf240e762740d691d5c412fb35ac2eeda273 100644 (file)
 // Generated events declaration and definition
 //------------------------------------------------------------------------------------------------------------
 
+//EED 2022-09-30
+//DEFINE_EVENT_TYPE( wxEVT_CONCEPT_RELEASE )
+wxDEFINE_EVENT(wxEVT_CONCEPT_RELEASE, wxCommandEvent);
 
-DEFINE_EVENT_TYPE( wxEVT_CONCEPT_RELEASE )
 
        //------------------------------------------------------------------------------------------------------------
        // Constructors & Destructors
index 821cb37032e86985e85e6e4bab603677553f4524..e2df74c6c101ccecda734a19d71a060dedb569a1 100644 (file)
 //------------------------------------------------------------------------------------------------------------
 // Events declaration
 //------------------------------------------------------------------------------------------------------------
+/*EED 2022-09-30
 BEGIN_DECLARE_EVENT_TYPES()
        DECLARE_EVENT_TYPE( wxEVT_CONCEPT_RELEASE, -1 ) 
 END_DECLARE_EVENT_TYPES()
+*/
+wxDECLARE_EVENT(wxEVT_CONCEPT_RELEASE, wxCommandEvent);
+
 
 /** file wxConceptControl.h */
 
index f31cc132d963a944da2d7bb3b294934eb1c84228..464721499a506458e3e996dc5e5b3366317904fc 100644 (file)
 //------------------------------------------------------------------------------------------------------------
 #include <wx/event.h>
 
-//------------------------------------------------------------------------------------------------------------
-// Events declaration
-//------------------------------------------------------------------------------------------------------------
-/*BEGIN_DECLARE_EVENT_TYPES()
-       DECLARE_EVENT_TYPE( wxEVT_CONCEPT_RELEASE, -1 ) 
-END_DECLARE_EVENT_TYPES()*/
 
 /** file wxContour_ButtonsBar.h */
 
index 38ebf0e9bb0e9d41d5f21f7b71acc27f8d383e5e..28b9e4af0e515ade02ae7c324cabe1f0aaf101da 100644 (file)
@@ -45,9 +45,6 @@
 // Generated events declaration and definition
 //------------------------------------------------------------------------------------------------------------
 
-//DEFINE_EVENT_TYPE( wxEVT_CONCEPT_RELEASE )
-
-
        //------------------------------------------------------------------------------------------------------------
        // Constructors & Destructors
        //------------------------------------------------------------------------------------------------------------
index 4d8f000a5350fe141db9607508af297f54bfd440..86fd2dbdc5006579c56dd2763677262117c6f9bc 100644 (file)
 //------------------------------------------------------------------------------------------------------------
 
 
-//------------------------------------------------------------------------------------------------------------
-// Events declaration
-//------------------------------------------------------------------------------------------------------------
-/*BEGIN_DECLARE_EVENT_TYPES()
-       DECLARE_EVENT_TYPE( wxEVT_CONCEPT_RELEASE, -1 ) 
-END_DECLARE_EVENT_TYPES()*/
-
-/** file wxContour_ControlPanel.h */
-
 class wxContour_ListViewPanel;
 //------------------------------------------------------------------------------------------------------------
 // Class definition
index 3031e7035257a888a502d6cf9355c34d434b5f85..2fde1a7743a4abf750ef182fe1f6e3cd8cf7ab3c 100644 (file)
@@ -43,9 +43,6 @@
 // Generated events declaration and definition
 //------------------------------------------------------------------------------------------------------------
 
-//DEFINE_EVENT_TYPE( wxEVT_CONCEPT_RELEASE )
-
-
        //------------------------------------------------------------------------------------------------------------
        // Constructors & Destructors
        //------------------------------------------------------------------------------------------------------------
index c5b094a41ef8f02031648d9cf719b48d208658b4..1160b5a32ba0a74452706f61b847617802a1baa2 100644 (file)
 //------------------------------------------------------------------------------------------------------------
 // Events declaration
 //------------------------------------------------------------------------------------------------------------
-/*BEGIN_DECLARE_EVENT_TYPES()
-       DECLARE_EVENT_TYPE( wxEVT_CONCEPT_RELEASE, -1 ) 
-END_DECLARE_EVENT_TYPES()*/
-
-/** file wxContour_Grid.h */
 
 
 //------------------------------------------------------------------------------------------------------------
index 1c8d8eed5a49e09265ae04a0caa2216878c6159c..a8203e92080d4e5c90f293736b617f900d8aa9e2 100644 (file)
@@ -43,9 +43,6 @@
 // Generated events declaration and definition
 //------------------------------------------------------------------------------------------------------------
 
-//DEFINE_EVENT_TYPE( wxEVT_CONCEPT_RELEASE )
-
-
        //------------------------------------------------------------------------------------------------------------
        // Constructors & Destructors
        //------------------------------------------------------------------------------------------------------------
index 9dfb016aaa1adb3e8c8458382f36fc3b82a9d280..b43d5901b0b5499c9f21ca91e2b94a9f59646bd1 100644 (file)
 //------------------------------------------------------------------------------------------------------------
 // Events declaration
 //------------------------------------------------------------------------------------------------------------
-/*BEGIN_DECLARE_EVENT_TYPES()
-       DECLARE_EVENT_TYPE( wxEVT_CONCEPT_RELEASE, -1 ) 
-END_DECLARE_EVENT_TYPES()*/
-
-/** file wxContour_MenuBar.h */
-
 
 //------------------------------------------------------------------------------------------------------------
 // Class definition
index 1047fcd03141f359a93c4472bf4e9148f6208399..2cbce694306b153706d5765b7e462c73bbd5c93a 100644 (file)
@@ -43,8 +43,6 @@
 // Generated events declaration and definition
 //------------------------------------------------------------------------------------------------------------
 
-//DEFINE_EVENT_TYPE( wxEVT_CONCEPT_RELEASE )
-
 
        //------------------------------------------------------------------------------------------------------------
        // Constructors & Destructors
index 7f81bb13c1e5231c3933e6a14358c7cb8d78556c..b23bee7a7f7aaeba6375594c9934fb169422ccd1 100644 (file)
 //------------------------------------------------------------------------------------------------------------
 
 
-//------------------------------------------------------------------------------------------------------------
-// Events declaration
-//------------------------------------------------------------------------------------------------------------
-/*BEGIN_DECLARE_EVENT_TYPES()
-       DECLARE_EVENT_TYPE( wxEVT_CONCEPT_RELEASE, -1 ) 
-END_DECLARE_EVENT_TYPES()*/
-
-/** file wxContour_OperationsToolsPanel.h */
-
-
 //------------------------------------------------------------------------------------------------------------
 // Class definition
 //------------------------------------------------------------------------------------------------------------
index 9bb3206e655f5ae914678f7bd76cbb67e4d5c801..b5bab9219234c577155a32d3200829504ae745f1 100644 (file)
@@ -43,8 +43,6 @@
 // Generated events declaration and definition
 //------------------------------------------------------------------------------------------------------------
 
-//DEFINE_EVENT_TYPE( wxEVT_CONCEPT_RELEASE )
-
 
        //------------------------------------------------------------------------------------------------------------
        // Constructors & Destructors
index 06ac6b1c68b6312a60f724e1e8b4aaff2da5fde8..5730cc9672e62f02626a21927ec708fb9f4a8ff4 100644 (file)
 //------------------------------------------------------------------------------------------------------------
 
 
-//------------------------------------------------------------------------------------------------------------
-// Events declaration
-//------------------------------------------------------------------------------------------------------------
-/*BEGIN_DECLARE_EVENT_TYPES()
-       DECLARE_EVENT_TYPE( wxEVT_CONCEPT_RELEASE, -1 ) 
-END_DECLARE_EVENT_TYPES()*/
-
-/** file wxContour_StandardToolsPanel.h */
-
-
 //------------------------------------------------------------------------------------------------------------
 // Class definition
 //------------------------------------------------------------------------------------------------------------
index 78b568ab7438217f2799f9056339daa9ac6282ff..1f6a2cfe61e802f42bd13e1e2b2a00eb00463fac 100644 (file)
@@ -45,6 +45,7 @@
 // Generated events declaration and definition
 //------------------------------------------------------------------------------------------------------------
 
+/* EED 2022-09-30 
 DEFINE_EVENT_TYPE( wxEVT_START_CREATE_MULT_ROI )       
 DEFINE_EVENT_TYPE( wxEVT_STOP_CREATE_MULT_ROI )        
 DEFINE_EVENT_TYPE( wxEVT_START_CREATE_ROI )
@@ -61,6 +62,23 @@ DEFINE_EVENT_TYPE( wxEVT_MOVING_ROI_POINT )
 DEFINE_EVENT_TYPE( wxEVT_SELECTED_ROI_POINT )  
 DEFINE_EVENT_TYPE( wxEVT_UNSELECTED_ROI_POINT )        
 DEFINE_EVENT_TYPE( wxEVT_CHANGED_DEEP )        
+*/
+wxDEFINE_EVENT(wxEVT_START_CREATE_MULT_ROI, wxCommandEvent);
+wxDEFINE_EVENT(wxEVT_STOP_CREATE_MULT_ROI, wxCommandEvent);
+wxDEFINE_EVENT(wxEVT_START_CREATE_ROI, wxCommandEvent);
+wxDEFINE_EVENT(wxEVT_STOP_CREATE_ROI, wxCommandEvent);
+wxDEFINE_EVENT(wxEVT_DELETE_ROI, wxCommandEvent);
+wxDEFINE_EVENT(wxEVT_SELECTED_MULT_ROI, wxCommandEvent);
+wxDEFINE_EVENT(wxEVT_SELECTED_ROI, wxCommandEvent);
+wxDEFINE_EVENT(wxEVT_UNSLECTED_ROI, wxCommandEvent);
+wxDEFINE_EVENT(wxEVT_MANUAL_HIDED_ROI, wxCommandEvent);
+wxDEFINE_EVENT(wxEVT_MANUAL_SHOWED_ROI, wxCommandEvent);
+wxDEFINE_EVENT(wxEVT_EDITING_ROI, wxCommandEvent);
+wxDEFINE_EVENT(wxEVT_MOVING_ROI, wxCommandEvent);
+wxDEFINE_EVENT(wxEVT_MOVING_ROI_POINT, wxCommandEvent);
+wxDEFINE_EVENT(wxEVT_SELECTED_ROI_POINT, wxCommandEvent);
+wxDEFINE_EVENT(wxEVT_UNSELECTED_ROI_POINT, wxCommandEvent);
+wxDEFINE_EVENT(wxEVT_CHANGED_DEEP, wxCommandEvent);
 
 
        wxVtkBaseView_SceneManager :: wxVtkBaseView_SceneManager( wxVtkBaseView * theWxBaseViewToManage, wxEvtHandler * theEventHandler, double * spc )
index c1591b911d49dfbe94529f4385bccbd2dd78fad9..de1f2a08765528a62602cc8021e01778351a47a2 100644 (file)
@@ -65,6 +65,7 @@
 //------------------------------------------------------------------------------------------------------------
 // Events declaration
 //------------------------------------------------------------------------------------------------------------
+/* EED 2022-09-30 
 BEGIN_DECLARE_EVENT_TYPES()
        DECLARE_EVENT_TYPE( wxEVT_START_CREATE_MULT_ROI, -1 )   
        DECLARE_EVENT_TYPE( wxEVT_STOP_CREATE_MULT_ROI, -1 )    
@@ -83,6 +84,23 @@ BEGIN_DECLARE_EVENT_TYPES()
        DECLARE_EVENT_TYPE( wxEVT_UNSELECTED_ROI_POINT, -1 )                    
        DECLARE_EVENT_TYPE( wxEVT_CHANGED_DEEP, -1 )
 END_DECLARE_EVENT_TYPES()
+*/
+wxDECLARE_EVENT(wxEVT_START_CREATE_MULT_ROI, wxCommandEvent);
+wxDECLARE_EVENT(wxEVT_STOP_CREATE_MULT_ROI, wxCommandEvent);
+wxDECLARE_EVENT(wxEVT_SELECTED_MULT_ROI, wxCommandEvent);
+wxDECLARE_EVENT(wxEVT_START_CREATE_ROI, wxCommandEvent);
+wxDECLARE_EVENT(wxEVT_STOP_CREATE_ROI, wxCommandEvent);
+wxDECLARE_EVENT(wxEVT_DELETE_ROI, wxCommandEvent);
+wxDECLARE_EVENT(wxEVT_SELECTED_ROI, wxCommandEvent);
+wxDECLARE_EVENT(wxEVT_UNSLECTED_ROI, wxCommandEvent);
+wxDECLARE_EVENT(wxEVT_MANUAL_HIDED_ROI, wxCommandEvent);
+wxDECLARE_EVENT(wxEVT_MANUAL_SHOWED_ROI, wxCommandEvent);
+wxDECLARE_EVENT(wxEVT_EDITING_ROI, wxCommandEvent);
+wxDECLARE_EVENT(wxEVT_MOVING_ROI, wxCommandEvent);
+wxDECLARE_EVENT(wxEVT_MOVING_ROI_POINT, wxCommandEvent);
+wxDECLARE_EVENT(wxEVT_SELECTED_ROI_POINT, wxCommandEvent);
+wxDECLARE_EVENT(wxEVT_UNSELECTED_ROI_POINT, wxCommandEvent);
+wxDECLARE_EVENT(wxEVT_CHANGED_DEEP, wxCommandEvent);
 
 /** file wxVtkBaseView_SceneManager.h */