class WXDLLEXPORT wxWindow;
class WXDLLEXPORT wxPoint;
class WXDLLEXPORT wxRect;
-class WXDLLEXPORT wxString;
+class WXDLLEXPORT wxString;
WX_DECLARE_EXPORTED_OBJARRAY(wxVideoMode, wxArrayVideoModes);
// name may be empty
virtual wxString GetName() const = 0;
- // display 0 is always the primary display
- bool IsPrimary() const { return m_index == 0; }
+ // display 0 is usually the primary display
+ virtual bool IsPrimary() const { return m_index == 0; }
// enumerate all video modes supported by this display matching the given
#include "wx/unix/displayx11.h"
#elif defined(__WXX11__)
#include "wx/unix/displayx11.h"
+#elif defined(__WXCOCOA__)
+ #include "wx/cocoa/display.h"
#elif defined(__WXMAC__)
#include "wx/mac/display.h"
#elif defined(__WXPM__)