compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
2e9f62dafb
commit
c50536396d
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user