diff --git a/src/qt/display.cpp b/src/qt/display.cpp index a5d1d829dd..9a39545451 100644 --- a/src/qt/display.cpp +++ b/src/qt/display.cpp @@ -20,6 +20,8 @@ public: wxDisplayImplQt( unsigned n ); virtual wxRect GetGeometry() const wxOVERRIDE; + virtual wxRect GetClientArea() const wxOVERRIDE; + virtual wxString GetName() const wxOVERRIDE; virtual wxArrayVideoModes GetModes(const wxVideoMode& mode) const wxOVERRIDE; @@ -37,6 +39,11 @@ wxRect wxDisplayImplQt::GetGeometry() const return wxQtConvertRect( QApplication::desktop()->screenGeometry( GetIndex() )); } +wxRect wxDisplayImplQt::GetClientArea() const +{ + return wxQtConvertRect( QApplication::desktop()->availableGeometry( GetIndex() )); +} + wxString wxDisplayImplQt::GetName() const { return wxString();