]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/toolbook.h
avoid infinite recursion for richtooltops, (hopefully) fixes #15070
[wxWidgets.git] / interface / wx / toolbook.h
index b2db21a8d66a7a0c0b551dfb9dbfcc320acb650b..630f8eca543cac8c4d07dffc622c472369c1614d 100644 (file)
@@ -6,6 +6,13 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
+#define wxTBK_BUTTONBAR            0x0100
+#define wxTBK_HORZ_LAYOUT          0x8000
+
+wxEventType wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED;
+wxEventType wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING;
+
+
 /**
     @class wxToolbook
 
@@ -61,6 +68,17 @@ public:
                  const wxString& name = wxEmptyString);
     //@}
 
+    /**
+       Create the tool book control that has already been constructed with
+       the default constructor.
+    */
+    bool Create(wxWindow *parent,
+                wxWindowID id,
+                const wxPoint& pos = wxDefaultPosition,
+                const wxSize& size = wxDefaultSize,
+                long style = 0,
+                const wxString& name = wxEmptyString);
+
     /**
         Returns the wxToolBarBase associated with the control.
     */