]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/notebook.h
Cleaned up paint DC cache in ~wxPaintDC to avoid spurious memory warning
[wxWidgets.git] / include / wx / gtk / notebook.h
index 2d10456907b19da7d0f62d856c8cc26f4ee9afb4..d8c772d7a0798068bd3f7e738af4126a682274dc 100644 (file)
@@ -16,6 +16,9 @@
 #endif
 
 #include "wx/defs.h"
 #endif
 
 #include "wx/defs.h"
+
+#if wxUSE_NOTEBOOK
+
 #include "wx/object.h"
 #include "wx/string.h"
 #include "wx/control.h"
 #include "wx/object.h"
 #include "wx/string.h"
 #include "wx/control.h"
@@ -127,6 +130,9 @@ public:
 
   void OnNavigationKey(wxNavigationKeyEvent& event);
 
 
   void OnNavigationKey(wxNavigationKeyEvent& event);
 
+    // overridden from wxWindow to make tabbing work  
+  void SetFocus();
+
   // implementation
 
   void SetConstraintSizes(bool recurse);
   // implementation
 
   void SetConstraintSizes(bool recurse);
@@ -150,5 +156,7 @@ public:
   DECLARE_EVENT_TABLE()
 };
 
   DECLARE_EVENT_TABLE()
 };
 
+#endif
+
 #endif
     // __GTKNOTEBOOKH__
 #endif
     // __GTKNOTEBOOKH__