From d3d508b7e6e8cbec7d3a2bd1da42a476f4cbe302 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sun, 28 Jun 2020 17:46:16 +0200 Subject: [PATCH] Fix visibility of embedded controls in non-native toolbar --- src/osx/cocoa/toolbar.mm | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/osx/cocoa/toolbar.mm b/src/osx/cocoa/toolbar.mm index d1d13bd333..52eca6f00c 100644 --- a/src/osx/cocoa/toolbar.mm +++ b/src/osx/cocoa/toolbar.mm @@ -245,8 +245,6 @@ public: #if wxOSX_USE_NATIVE_TOOLBAR void SetToolbarItemRef( NSToolbarItem* ref ) { - if ( m_controlHandle ) - [m_controlHandle setHidden:YES]; if ( m_toolbarItem ) [m_toolbarItem release];