Allow creating initially hidden controls in wxOSX/Cocoa.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 21 Aug 2009 10:54:53 +0000 (10:54 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 21 Aug 2009 10:54:53 +0000 (10:54 +0000)
commitd94e9b623ac92b82e0497ab695882a48fa641d44
tree5a8b63877e15785b752f24a0fc42679b94a6a479
parent03647350fc7cd141953c72e0284e928847d30f44
Allow creating initially hidden controls in wxOSX/Cocoa.

If wxWindow is hidden before being really created, we must create the native
control hidden too. Not only this allows to create the controls initially
hidden, as intended, but it also avoids the wx and native visibility flags
from getting out of sync which results in many other problems.

Closes #11131.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/osx/cocoa/window.mm