compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-09-26 12:56:38 +00:00
parent 2e9f62dafb
commit c50536396d

View File

@@ -330,9 +330,9 @@ wxWindowMSW::~wxWindowMSW()
wxFrame *frame = wxDynamicCast(win, wxFrame); wxFrame *frame = wxDynamicCast(win, wxFrame);
if ( frame ) if ( frame )
{ {
if ( frameMSW->GetLastFocus() == this ) if ( frame->GetLastFocus() == this )
{ {
frameMSW->SetLastFocus((wxWindow*)NULL); frame->SetLastFocus((wxWindow*)NULL);
} }
break; break;
} }