+ virtual wxArrayVideoModes
+ GetModes(const wxVideoMode& mode = wxVideoMode()) const;
+ virtual wxVideoMode GetCurrentMode() const;
+ virtual bool ChangeMode(const wxVideoMode& mode = wxVideoMode());
+
+private:
+ // get the display name to use with EnumDisplaySettings()
+ wxString GetNameForEnumSettings() const;
+
+ // we have different implementations using DirectDraw and without it
+ wxArrayVideoModes DoGetModesDirectX(const wxVideoMode& modeMatch) const;
+ bool DoChangeModeDirectX(const wxVideoMode& mode);
+
+ wxArrayVideoModes DoGetModesWindows(const wxVideoMode& modeMatch) const;
+ bool DoChangeModeWindows(const wxVideoMode& mode);
+
+
+ DECLARE_NO_COPY_CLASS(wxDisplay)