wxFrame *frame = wxDynamicCast(win, wxFrame);
if ( frame )
{
- if ( frameMSW->GetLastFocus() == this )
+ if ( frame->GetLastFocus() == this )
{
- frameMSW->SetLastFocus((wxWindow*)NULL);
+ frame->SetLastFocus((wxWindow*)NULL);
}
break;
}
if ( !m_hWnd )
{
- wxLogError(_("Can't create window of class %s!\nPossible Windows 3.x compatibility problem?"),
- wclass);
+ wxLogSysError(_("Can't create window of class %s"), wclass);
return FALSE;
}