diff --git a/include/wx/x11/window.h b/include/wx/x11/window.h index 669e17cd80..b4642112b5 100644 --- a/include/wx/x11/window.h +++ b/include/wx/x11/window.h @@ -145,10 +145,6 @@ public: static void DoChangeForegroundColour(WXWindow widget, wxColour& foregroundColour); static void DoChangeBackgroundColour(WXWindow widget, wxColour& backgroundColour, bool changeArmColour = FALSE); - // For implementation purposes - sometimes decorations make the client area - // smaller - virtual wxPoint GetClientAreaOrigin() const; - // I don't want users to override what's done in idle so everything that // has to be done in idle time in order for wxX11 to work is done in // OnInternalIdle diff --git a/src/x11/window.cpp b/src/x11/window.cpp index b8e83b9f02..a76272ca40 100644 --- a/src/x11/window.cpp +++ b/src/x11/window.cpp @@ -873,13 +873,6 @@ void wxWindowX11::DoSetClientSize(int width, int height) } } -// For implementation purposes - sometimes decorations make the client area -// smaller -wxPoint wxWindowX11::GetClientAreaOrigin() const -{ - return wxPoint(0, 0); -} - void wxWindowX11::DoMoveWindow(int x, int y, int width, int height) { Window xwindow = (Window) m_mainWindow;