wxTheApp->s_captureWindow = this ;
}
+wxWindow* wxWindowBase::GetCapture()
+{
+ return wxTheApp->s_captureWindow ;
+}
+
void wxWindow::ReleaseMouse()
{
wxTheApp->s_captureWindow = NULL ;
}
}
MacSuperShown( show ) ;
- Refresh() ;
+ if ( !show )
+ {
+ WindowRef window = GetMacRootWindow() ;
+ wxWindow* win = wxFindWinFromMacWindow( window ) ;
+ if ( !win->m_isBeingDeleted )
+ Refresh() ;
+ }
+ else
+ {
+ Refresh() ;
+ }
return TRUE;
}