]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/window.cpp
wxUSE_IMAGE cleanup, fix warning
[wxWidgets.git] / src / x11 / window.cpp
index 675d1a8b2fc1e17e6c3f4e6d2787fdab9f48672d..a76272ca40d3ada711eac133b9be0a736a060c1a 100644 (file)
@@ -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);
         }