]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/window.cpp
Applied patch [ 1171542 ] access static class members via scoping operator
[wxWidgets.git] / src / mac / carbon / window.cpp
index 625eabb20d0f1ad478326d9094cf5a8759c62911..6230cb10d3865d3f71a1d566a138399b07649da9 100644 (file)
@@ -1115,17 +1115,17 @@ void wxWindowMac::SetFocus()
 
 void wxWindowMac::DoCaptureMouse()
 {
-    wxTheApp->s_captureWindow = this ;
+    wxApp::s_captureWindow = this ;
 }
 
 wxWindow* wxWindowBase::GetCapture()
 {
-    return wxTheApp->s_captureWindow ;
+    return wxApp::s_captureWindow ;
 }
 
 void wxWindowMac::DoReleaseMouse()
 {
-    wxTheApp->s_captureWindow = NULL ;
+    wxApp::s_captureWindow = NULL ;
 }
 
 #if    wxUSE_DRAG_AND_DROP