]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/notebook/notebook.h
wxMac uses wxStandardPathsCF to mean wxStandardPaths in its wxBase
[wxWidgets.git] / samples / notebook / notebook.h
index 28cf666261f766796bc39e4d3fc2cee8725a111c..777ba33404920dcee3f5fbf7603b3040253adde9 100644 (file)
@@ -48,9 +48,15 @@ public:
     void OnDeleteLastPage(wxCommandEvent& event);
     void OnNextPage(wxCommandEvent& event);
 
+#if wxUSE_NOTEBOOK
     void OnNotebook(wxNotebookEvent& event);
+#endif
+#if wxUSE_CHOICEBOOK
     void OnChoicebook(wxChoicebookEvent& event);
+#endif
+#if wxUSE_LISTBOOK
     void OnListbook(wxListbookEvent& event);
+#endif
 
     void OnIdle(wxIdleEvent& event);
 
@@ -73,9 +79,15 @@ private:
 
     wxPanel *m_panel; // Panel containing notebook and other controls
 
+#if wxUSE_NOTEBOOK
     wxNotebook   *m_notebook;
+#endif
+#if wxUSE_CHOICEBOOK
     wxChoicebook *m_choicebook;
+#endif
+#if wxUSE_LISTBOOK
     wxListbook   *m_listbook;
+#endif
 
 #if USE_LOG
     // Log window