making sure eventual borders get updated when windows are shown

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2012-02-21 20:22:16 +00:00
parent 8bda419d02
commit 2d0744aa1b

View File

@@ -1261,6 +1261,9 @@ bool wxWindowMac::Show(bool show)
if ( GetPeer() )
GetPeer()->SetVisibility( show ) ;
if ( show )
MacInvalidateBorders();
#ifdef __WXOSX_IPHONE__
// only when there's no native event support
if ( !IsTopLevel() )