From c50536396dccbf44f4dcf712a2130bcfabd25e83 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 26 Sep 2001 12:56:38 +0000 Subject: [PATCH] compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/window.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/msw/window.cpp b/src/msw/window.cpp index db1345a74e..5f1c764941 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -330,9 +330,9 @@ wxWindowMSW::~wxWindowMSW() wxFrame *frame = wxDynamicCast(win, wxFrame); if ( frame ) { - if ( frameMSW->GetLastFocus() == this ) + if ( frame->GetLastFocus() == this ) { - frameMSW->SetLastFocus((wxWindow*)NULL); + frame->SetLastFocus((wxWindow*)NULL); } break; }