]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/toplevel.h
Fix for wxToolbook, allow oldSel == wxNOT_FOUND when changing to a
[wxWidgets.git] / include / wx / toplevel.h
index 2c601c70c51c3dd9a59102fe5e63220eb65b2149..fee628786c0b867a54eced821e5af6101f642e81 100644 (file)
@@ -229,6 +229,7 @@ public:
     // override some base class virtuals
     virtual bool Destroy();
     virtual bool IsTopLevel() const { return true; }
+    virtual bool IsVisible() const { return IsShown(); }
     virtual wxSize GetMaxSize() const;
 
     // event handlers
@@ -316,6 +317,9 @@ protected:
 #elif defined(__WXMGL__)
     #include "wx/mgl/toplevel.h"
     #define wxTopLevelWindowNative wxTopLevelWindowMGL
+#elif defined(__WXDFB__)
+    #include "wx/dfb/toplevel.h"
+    #define wxTopLevelWindowNative wxTopLevelWindowDFB
 #elif defined(__WXMAC__)
     #include "wx/mac/toplevel.h"
     #define wxTopLevelWindowNative wxTopLevelWindowMac