only hide tool windows on deactivate, fixes #11924

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2010-07-07 08:32:17 +00:00
parent 35a11fc70c
commit 4539e90321

View File

@ -527,6 +527,9 @@ long style, long extraStyle, const wxString& WXUNUSED(name) )
[m_macWindow setOpaque:NO]; [m_macWindow setOpaque:NO];
[m_macWindow setAlphaValue:1.0]; [m_macWindow setAlphaValue:1.0];
} }
if ( !(style & wxFRAME_TOOL_WINDOW) )
[m_macWindow setHidesOnDeactivate:NO];
} }
void wxNonOwnedWindowCocoaImpl::Create( wxWindow* WXUNUSED(parent), WXWindow nativeWindow ) void wxNonOwnedWindowCocoaImpl::Create( wxWindow* WXUNUSED(parent), WXWindow nativeWindow )