]> Creatis software - creaImageIO.git/blobdiff - src/creaImageIOWxGimmickView.h
#3323 Bug with ToolBar (in wxFrame an not in wxPanel) in MacOs
[creaImageIO.git] / src / creaImageIOWxGimmickView.h
index 9e2f359523cfacfad98a36c355cba65a734afb76..7ea39f2e84b6d054a1c5425c3a742c33c90f9101 100644 (file)
@@ -142,7 +142,7 @@ namespace creaImageIO
 
   protected:
     /// Creates the tool bar
-    void CreateToolBar(); 
+    void CreateToolBar( ); 
     
     /// Create the tree view for TreeHandler provided 
     /// (overloaded from GimmickView)
@@ -157,7 +157,8 @@ namespace creaImageIO
     /// before everything is ok)
     bool                               mConstructed;
     /// The ToolBar and the tools
-    wxToolBar                  *mToolBar;
+//    wxToolBar                        *mToolBar;
+    wxPanel             *mToolBar;
     wxToolBarToolBase  *mToolAddFile;
     wxToolBarToolBase  *mToolAddDir;
     wxToolBarToolBase  *mToolRemove;
@@ -175,6 +176,8 @@ namespace creaImageIO
     /// The list of icons 
     wxImageList                *mIcon;
     void CreateIconList();
+    void AddBtnTool(wxPanel *panel, wxBoxSizer *sizerH, int id, wxString label, int idBitmap, wxString tooltip );
+
     
     boost::shared_ptr<Gimmick> mGimmick;