X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e1cc1ce95dde0c66df452cf438a05c5d6cac153..83a9be3427d830e767a5bcec2bc40a06d2d463a8:/include/wx/mac/display.h?ds=sidebyside diff --git a/include/wx/mac/display.h b/include/wx/mac/display.h index 060c9c7ef4..9a523e41f8 100644 --- a/include/wx/mac/display.h +++ b/include/wx/mac/display.h @@ -1,46 +1,5 @@ -///////////////////////////////////////////////////////////////////////////// -// Name: display.h -// Purpose: wxDisplay class customization for Mac -// Author: Brian Victor -// Modified by: Royce Mitchell III -// Created: 06/21/02 -// RCS-ID: $Id$ -// Copyright: (c) wxWindows team -// Licence: wxWindows licence -///////////////////////////////////////////////////////////////////////////// - -#ifndef _WX_MAC_DISPLAY_H_ -#define _WX_MAC_DISPLAY_H_ - -#include "wx/object.h" -#include "wx/display.h" - -class wxDisplayMacPriv; -class wxRect; -class wxString; - -class WXDLLEXPORT wxDisplay : public wxDisplayBase -{ -public: - wxDisplay ( size_t index = 0 ); - - ~wxDisplay(); - - virtual wxRect GetGeometry() const; - virtual int GetDepth() const; - virtual wxString GetName() const; - - virtual wxArrayVideoModes - GetModes(const wxVideoMode& mode = wxDefaultVideoMode) const; - - virtual wxVideoMode GetCurrentMode() const; - - virtual bool ChangeMode(const wxVideoMode& mode = wxDefaultVideoMode); - -private: - wxDisplayMacPriv* m_priv; - - DECLARE_NO_COPY_CLASS(wxDisplay) -}; - -#endif // _WX_MAC_DISPLAY_H_ +#if __WXMAC_CLASSIC__ +#include "wx/mac/classic/display.h" +#else +#include "wx/mac/carbon/display.h" +#endif \ No newline at end of file