X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/024f89f972a6787e82d77fc5e5dac302a56abbb0..d45318b8b6857ab6159b37c2f3ddce6a5f68be28:/src/x11/window.cpp diff --git a/src/x11/window.cpp b/src/x11/window.cpp index 675d1a8b2f..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; @@ -1252,7 +1245,7 @@ void wxWindowX11::OnSysColourChanged(wxSysColourChangedEvent& event) if ( win->GetParent() ) { wxSysColourChangedEvent event2; - event.m_eventObject = win; + event.SetEventObject(win); win->GetEventHandler()->ProcessEvent(event2); }