X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bfc908104996c9b856fcb61b2f084a6025402d61..245f35816d761212279e8cf223475efb7a367553:/include/wx/display.h?ds=sidebyside diff --git a/include/wx/display.h b/include/wx/display.h index 05db85ab8d..ddcea733dd 100644 --- a/include/wx/display.h +++ b/include/wx/display.h @@ -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; @@ -147,7 +152,7 @@ protected: #elif defined(__WXMOTIF__) #include "wx/motif/display.h" #elif defined(__WXGTK__) - #include "wx/gtk/display.h" + #include "wx/unix/displayx11.h" #elif defined(__WXMAC__) #include "wx/mac/display.h" #elif defined(__WXPM__)