]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/display.h
Committing in .
[wxWidgets.git] / include / wx / display.h
index 05db85ab8dfb98961d12417551447344f6b366a5..69835ce6aa370424bdb20c9039fd20b0e67b38f3 100644 (file)
@@ -20,6 +20,8 @@
 
 #include "wx/dynarray.h"
 
+class WXDLLEXPORT wxWindow;
+
 // ----------------------------------------------------------------------------
 // wxVideoMode: contains video mode parameters for a display
 // ----------------------------------------------------------------------------
@@ -100,6 +102,9 @@ public:
     static int GetFromWindow(wxWindow *window);
 
 
+    // return true if the object was initialized successfully
+    virtual bool IsOk() const { return true; }
+
     // get the display size
     virtual wxRect GetGeometry() const = 0;