#include "wx/dynarray.h"
+class WXDLLEXPORT wxWindow;
+
// ----------------------------------------------------------------------------
// wxVideoMode: contains video mode parameters for a display
// ----------------------------------------------------------------------------
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;
// the index of this display (0 is always the primary one)
size_t m_index;
- DECLARE_NO_COPY_CLASS(wxDisplayBase);
+ DECLARE_NO_COPY_CLASS(wxDisplayBase)
};
#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__)