diff --git a/include/wx/motif/window.h b/include/wx/motif/window.h index 9ce318d42b..dd190b6bf4 100644 --- a/include/wx/motif/window.h +++ b/include/wx/motif/window.h @@ -98,8 +98,6 @@ 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(); } diff --git a/src/motif/window.cpp b/src/motif/window.cpp index aa4453bd4f..feda98f8ec 100644 --- a/src/motif/window.cpp +++ b/src/motif/window.cpp @@ -1372,13 +1372,6 @@ 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) {