]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/window.cpp
fixed client area origin handling in wxGTK
[wxWidgets.git] / src / msw / window.cpp
index db1345a74e6c57299121282cf35ebaf1e2bd7552..5f1c7649413717bd6b868b0fd38112f37cfc68c3 100644 (file)
@@ -330,9 +330,9 @@ wxWindowMSW::~wxWindowMSW()
         wxFrame *frame = wxDynamicCast(win, wxFrame);
         if ( frame )
         {
         wxFrame *frame = wxDynamicCast(win, wxFrame);
         if ( frame )
         {
-            if ( frameMSW->GetLastFocus() == this )
+            if ( frame->GetLastFocus() == this )
             {
             {
-                frameMSW->SetLastFocus((wxWindow*)NULL);
+                frame->SetLastFocus((wxWindow*)NULL);
             }
             break;
         }
             }
             break;
         }