]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/app.cpp
support for toggle bitmap button
[wxWidgets.git] / src / x11 / app.cpp
index e9c7b2bb175d13dcea373de048c08f7f5bf67b69..acd1c49aef2bb7520315e60dcaefe5b51f536fcb 100644 (file)
@@ -338,7 +338,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->GetClientAreaWindow())
+                if (win->X11GetMainWindow() == win->GetClientAreaWindow())
                     win->NeedUpdateNcAreaInIdle();
 
                 // Only erase background, paint in idle time.