X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ef1717a963dfb76bac26b9f4277ae590b3c0a2e6..80752b57a9bbdfa7613a917d9ece00fc47677080:/include/wx/display_impl.h?ds=sidebyside 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;