Fix visibility of embedded controls in non-native toolbar
This commit is contained in:
@@ -245,8 +245,6 @@ public:
|
|||||||
#if wxOSX_USE_NATIVE_TOOLBAR
|
#if wxOSX_USE_NATIVE_TOOLBAR
|
||||||
void SetToolbarItemRef( NSToolbarItem* ref )
|
void SetToolbarItemRef( NSToolbarItem* ref )
|
||||||
{
|
{
|
||||||
if ( m_controlHandle )
|
|
||||||
[m_controlHandle setHidden:YES];
|
|
||||||
if ( m_toolbarItem )
|
if ( m_toolbarItem )
|
||||||
[m_toolbarItem release];
|
[m_toolbarItem release];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user