#if wxUSE_DISPLAY
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
- #pragma interface "displaybase.h"
-#endif
-
#include "wx/dynarray.h"
#include "wx/vidmode.h"
WX_DECLARE_EXPORTED_OBJARRAY(wxVideoMode, wxArrayVideoModes);
// default, uninitialized, video mode object
-WXDLLEXPORT_DATA(extern const wxVideoMode) wxDefaultVideoMode;
+extern WXDLLEXPORT_DATA(const wxVideoMode) wxDefaultVideoMode;
// ----------------------------------------------------------------------------
// wxDisplayBase: represents a display/monitor attached to the system
// 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