]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/choice_osx.cpp
fixes #13064
[wxWidgets.git] / src / osx / choice_osx.cpp
index c0540c58a3370ee8080071bb28fbc2bafa24fde6..bb3427a8576d4e1810a5f2cbde9a0da8348f1616 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        src/osx/carbon/choice.cpp
+// Name:        src/osx/choice_osx.cpp
 // Purpose:     wxChoice
 // Author:      Stefan Csomor
 // Modified by:
@@ -65,9 +65,9 @@ bool wxChoice::Create(wxWindow *parent,
     long style,
     const wxValidator& validator,
     const wxString& name )
-{
-    m_macIsUserPane = false;
-
+{    
+    DontCreatePeer();
+    
     if ( !wxChoiceBase::Create( parent, id, pos, size, style, validator, name ) )
         return false;