]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/toolbook.h
Add some missing wxGraphicsContext methods
[wxWidgets.git] / interface / wx / toolbook.h
index 26281e31735495bd2de01d7af1419539750f941e..67266e1bdd7495f21faa0afed94e241a2c4d411a 100644 (file)
@@ -6,6 +6,13 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
+#define wxTBK_BUTTONBAR            0x0100
+#define wxTBK_HORZ_LAYOUT          0x8000
+
+wxEventType wxEVT_TOOLBOOK_PAGE_CHANGED;
+wxEventType wxEVT_TOOLBOOK_PAGE_CHANGING;
+
+
 /**
     @class wxToolbook
 
     @beginEventEmissionTable{wxBookCtrlEvent}
     @event{EVT_TOOLBOOK_PAGE_CHANGED(id, func)}
         The page selection was changed.
-        Processes a @c wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED event.
+        Processes a @c wxEVT_TOOLBOOK_PAGE_CHANGED event.
     @event{EVT_TOOLBOOK_PAGE_CHANGING(id, func)}
         The page selection is about to be changed.
-        Processes a @c wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING event.
+        Processes a @c wxEVT_TOOLBOOK_PAGE_CHANGING event.
         This event can be vetoed (using wxNotifyEvent::Veto()).
     @endEventTable
 
@@ -58,9 +65,20 @@ public:
                  const wxPoint& pos = wxDefaultPosition,
                  const wxSize& size = wxDefaultSize,
                  long style = 0,
-                 const wxString& name = wxEmptyStr);
+                 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.
     */