]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/display_impl.h
made wxCommandEvent::GetInt() return int, not long (patch 1473771)
[wxWidgets.git] / include / wx / display_impl.h
index aa7e05ff0d678bedf03558a14a5a95cbeb7adc71..cfd40a3d6761004c2540c5251f8617d982414fe0 100644 (file)
@@ -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;