]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/notebook.h
allow compilation with wxUSE_DATETIME == 0 (patch 679822)
[wxWidgets.git] / include / wx / gtk1 / notebook.h
index d65e1a147971709b567e9879b19d9a25ba9f19b6..ec9ce37371478bc46cba30307ab3cc09bf447684 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef __GTKNOTEBOOKH__
 #define __GTKNOTEBOOKH__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface
 #endif
 
@@ -122,11 +122,17 @@ public:
     // selection internally instead of querying the notebook for it
     int m_selection;
 
+    // flag set to TRUE while we're inside "switch_page" callback
+    bool m_inSwitchPage;
+
 protected:
     // remove one page from the notebook but do not destroy it
     virtual wxNotebookPage *DoRemovePage(int nPage);
 
 private:
+    // the padding set by SetPadding()
+    int m_padding;
+
     DECLARE_DYNAMIC_CLASS(wxNotebook)
     DECLARE_EVENT_TABLE()
 };