]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/app.cpp
fix when not having precompiled headers
[wxWidgets.git] / src / x11 / app.cpp
index 2f2a28be2916bc97bff4b3523a77320d12bf28b9..dfdb22215853e237a5f920c3689aace39a689b3c 100644 (file)
@@ -514,7 +514,7 @@ bool wxApp::ProcessXEvent(WXEvent* _event)
         case Expose:
         {
 #if wxUSE_TWO_WINDOWS && !wxUSE_NANOX
-            if (event->xexpose.window != (Window)win->GetClientWindow())
+            if (event->xexpose.window != (Window)win->GetClientAreaWindow())
             {
                 XEvent tmp_event;
                 wxExposeInfo info;
@@ -556,7 +556,7 @@ bool wxApp::ProcessXEvent(WXEvent* _event)
 
                 // If we only have one X11 window, always indicate
                 // that borders might have to be redrawn.
-                if (win->GetMainWindow() == win->GetClientWindow())
+                if (win->GetMainWindow() == win->GetClientAreaWindow())
                     win->NeedUpdateNcAreaInIdle();
 
                 // Only erase background, paint in idle time.