X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ef1717a963dfb76bac26b9f4277ae590b3c0a2e6..fd587c7a5e2424a3a29012ac3efa6fff84dba035:/include/wx/display_impl.h diff --git a/include/wx/display_impl.h b/include/wx/display_impl.h index aa7e05ff0d..cfd40a3d67 100644 --- a/include/wx/display_impl.h +++ b/include/wx/display_impl.h @@ -11,6 +11,8 @@ #ifndef _WX_DISPLAY_IMPL_H_BASE_ #define _WX_DISPLAY_IMPL_H_BASE_ +#include "wx/gdicmn.h" // for wxRect + // ---------------------------------------------------------------------------- // wxDisplayFactory: allows to create wxDisplay objects // ---------------------------------------------------------------------------- @@ -52,6 +54,9 @@ public: // return the full area of this display virtual wxRect GetGeometry() const = 0; + // return the area of the display available for normal windows + virtual wxRect GetClientArea() const { return GetGeometry(); } + // return the name (may be empty) virtual wxString GetName() const = 0;