Add implementation for pure virtual method.
authorMattia Barbon <mbarbon@cpan.org>
Sat, 26 Feb 2005 15:51:46 +0000 (15:51 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Sat, 26 Feb 2005 15:51:46 +0000 (15:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/motif/window.h
src/motif/window.cpp

index 56543035159849c0671cc2d9b26f3cc0ad29c6a2..9ce318d42bd73b8bb0187fc2cca888ad1f010c1d 100644 (file)
@@ -97,7 +97,9 @@ public:
     
     // Accept files for dragging
     virtual void DragAcceptFiles(bool accept);
-    
+
+    virtual wxPoint GetClientAreaOrigin() const;
+
     // Get the unique identifier of a window
     virtual WXWidget GetHandle() const { return GetMainWidget(); }
     
@@ -291,7 +293,7 @@ protected:
     virtual bool DoPopupMenu(wxMenu *menu, int x, int y);
     virtual void DoCaptureMouse();
     virtual void DoReleaseMouse();
-    
+
 #if wxUSE_TOOLTIPS
     virtual void DoSetToolTip( wxToolTip *tip );
 #endif // wxUSE_TOOLTIPS
index feda98f8ec996f75d66da878ad9029272f3730aa..aa4453bd4f567d2122854cff85efc06a9e87a4df 100644 (file)
@@ -1372,6 +1372,13 @@ void wxWindow::DoSetClientSize(int width, int height)
         XtVaSetValues(widget, XmNheight, height, NULL);
 }
 
+// For implementation purposes - sometimes decorations make the client area
+// smaller
+wxPoint wxWindow::GetClientAreaOrigin() const
+{
+    return wxPoint(0, 0);
+}
+
 void wxWindow::DoMoveWindowIntr(int xx, int yy, int w, int h,
                                 int flags)
 {