Implemented missing pure virt functions (stub functions for now).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -24,17 +24,23 @@ 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;
|
||||
|
||||
~wxDisplay();
|
||||
virtual wxVideoMode GetCurrentMode() const;
|
||||
|
||||
virtual bool ChangeMode(const wxVideoMode& mode = wxDefaultVideoMode);
|
||||
|
||||
private:
|
||||
wxDisplayMacPriv* m_priv;
|
||||
|
||||
DECLARE_NO_COPY_CLASS(wxDisplay);
|
||||
DECLARE_NO_COPY_CLASS(wxDisplay)
|
||||
};
|
||||
|
||||
#endif // _WX_MAC_DISPLAY_H_
|
||||
|
@@ -120,7 +120,26 @@ int wxDisplay::GetDepth() const
|
||||
wxString wxDisplay::GetName() const
|
||||
{
|
||||
// Macs don't name their displays...
|
||||
return wxT("");
|
||||
return wxEmptyString;
|
||||
}
|
||||
|
||||
wxArrayVideoModes
|
||||
wxDisplay::GetModes(const wxVideoMode& mode) const
|
||||
{
|
||||
// Not implemented
|
||||
return wxArrayVideoModes();
|
||||
}
|
||||
|
||||
wxVideoMode wxDisplay::GetCurrentMode() const
|
||||
{
|
||||
// Not implemented
|
||||
return wxVideoMode();
|
||||
}
|
||||
|
||||
bool wxDisplay::ChangeMode(const wxVideoMode& mode)
|
||||
{
|
||||
// Not implemented
|
||||
return false;
|
||||
}
|
||||
|
||||
wxDisplay::~wxDisplay()
|
||||
|
@@ -120,7 +120,26 @@ int wxDisplay::GetDepth() const
|
||||
wxString wxDisplay::GetName() const
|
||||
{
|
||||
// Macs don't name their displays...
|
||||
return wxT("");
|
||||
return wxEmptyString;
|
||||
}
|
||||
|
||||
wxArrayVideoModes
|
||||
wxDisplay::GetModes(const wxVideoMode& mode) const
|
||||
{
|
||||
// Not implemented
|
||||
return wxArrayVideoModes();
|
||||
}
|
||||
|
||||
wxVideoMode wxDisplay::GetCurrentMode() const
|
||||
{
|
||||
// Not implemented
|
||||
return wxVideoMode();
|
||||
}
|
||||
|
||||
bool wxDisplay::ChangeMode(const wxVideoMode& mode)
|
||||
{
|
||||
// Not implemented
|
||||
return false;
|
||||
}
|
||||
|
||||
wxDisplay::~wxDisplay()
|
||||
|
Reference in New Issue
Block a user