X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ef1717a963dfb76bac26b9f4277ae590b3c0a2e6..acc476c530e1730d9202b404ec0b0b87ae44ced6:/src/common/dpycmn.cpp diff --git a/src/common/dpycmn.cpp b/src/common/dpycmn.cpp index b30084f099..d375d9e494 100644 --- a/src/common/dpycmn.cpp +++ b/src/common/dpycmn.cpp @@ -68,6 +68,8 @@ public: return r; } + virtual wxRect GetClientArea() const { return wxGetClientDisplayRect(); } + virtual wxString GetName() const { return wxString(); } #if wxUSE_DISPLAY @@ -162,6 +164,13 @@ wxRect wxDisplay::GetGeometry() const return m_impl->GetGeometry(); } +wxRect wxDisplay::GetClientArea() const +{ + wxCHECK_MSG( IsOk(), wxRect(), _T("invalid wxDisplay object") ); + + return m_impl->GetClientArea(); +} + wxString wxDisplay::GetName() const { wxCHECK_MSG( IsOk(), wxString(), _T("invalid wxDisplay object") );