making sure eventual borders get updated when windows are hidden

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2012-02-21 16:23:39 +00:00
parent c8c77ee2af
commit 91722d7412

View File

@@ -1252,6 +1252,9 @@ wxString wxWindowMac::GetLabel() const
bool wxWindowMac::Show(bool show)
{
if ( !show )
MacInvalidateBorders();
if ( !wxWindowBase::Show(show) )
return false;