]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/notebook/notebook.h
Don't crash when creating wxStaticBox in wxGTK.
[wxWidgets.git] / samples / notebook / notebook.h
index d0b48b4afb905568815d742ffe8950764b2ec0c2..416e31918cdc4bc12e25535387bf4d47eafb224f 100644 (file)
@@ -13,6 +13,7 @@
 #include "wx/listbook.h"
 #include "wx/treebook.h"
 #include "wx/notebook.h"
+#include "wx/simplebook.h"
 #include "wx/toolbook.h"
 #include "wx/aui/auibook.h"
 
@@ -97,7 +98,6 @@ private:
 
     void RecreateBook();
     wxPanel *CreateNewPage() const;
-    int TranslateBookFlag(int nb, int lb, int chb, int tbk, int toolbkm, int aui) const;
     void AddFlagStrIfFlagPresent(wxString & flagStr, long flags, long flag, const wxChar * flagName) const;
 
     // Sample setup
@@ -109,6 +109,7 @@ private:
         Type_Treebook,
         Type_Toolbook,
         Type_AuiNotebook,
+        Type_Simplebook,
         Type_Max
     } m_type;
     int m_orient;
@@ -145,6 +146,7 @@ enum ID_COMMANDS
     ID_BOOK_TREEBOOK,
     ID_BOOK_TOOLBOOK,
     ID_BOOK_AUINOTEBOOK,
+    ID_BOOK_SIMPLEBOOK,
     ID_BOOK_MAX,
 
     ID_ORIENT_DEFAULT,