From cc3fcdff183c0af38f23aa57e5b21b419fc8ee61 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Thu, 24 Sep 2009 08:16:15 +0000 Subject: [PATCH] supporting disabled items, closes #11130 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/osx/cocoa/choice.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/osx/cocoa/choice.mm b/src/osx/cocoa/choice.mm index 2ed9724dd4..d08572479a 100644 --- a/src/osx/cocoa/choice.mm +++ b/src/osx/cocoa/choice.mm @@ -64,6 +64,7 @@ wxWidgetImplType* wxWidgetImpl::CreateChoice( wxWindowMac* wxpeer, NSRect r = wxOSXGetFrameForControl( wxpeer, pos , size ) ; wxNSPopUpButton* v = [[wxNSPopUpButton alloc] initWithFrame:r pullsDown:NO]; [v setMenu: menu->GetHMenu()]; + [v setAutoenablesItems:NO]; wxWidgetCocoaImpl* c = new wxWidgetCocoaImpl( wxpeer, v ); return c; } -- 2.45.2