Implement wxDisplay::GetClientArea() for wxQt too
This is as simple as implementing GetGeometry(), so just do it.
This commit is contained in:
parent
771e01cc73
commit
c98d504b6d
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user