From: Włodzimierz Skiba Date: Thu, 10 Feb 2005 10:43:00 +0000 (+0000) Subject: wxWindow::GetClientAreaOrigin duplicated wxWindowBase method. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/00208f47e3a50246d9bf8eefb3dab688ed384ef0 wxWindow::GetClientAreaOrigin duplicated wxWindowBase method. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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;