]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/toplevel.h
Not everything has to be virtual.
[wxWidgets.git] / include / wx / toplevel.h
index b90c1a65840046581204b80b7ea6a9f538ac17ec..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