X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5276b0a53cef4815230e39b54d2ecda14f72cbd1..47e175a24f862aa8b7ca7dd4a2bb5957991e7f2d:/src/osx/carbon/combobxc.cpp diff --git a/src/osx/carbon/combobxc.cpp b/src/osx/carbon/combobxc.cpp index b568c23c89..b691300246 100644 --- a/src/osx/carbon/combobxc.cpp +++ b/src/osx/carbon/combobxc.cpp @@ -25,8 +25,6 @@ #endif #endif -IMPLEMENT_DYNAMIC_CLASS(wxComboBox, wxControl) - #if TARGET_API_MAC_OSX #define USE_HICOMBOBOX 1 //use hi combobox define #else @@ -343,7 +341,7 @@ bool wxComboBox::Create(wxWindow *parent, wxWindowID id, m_text = NULL; m_choice = NULL; #if USE_HICOMBOBOX - m_macIsUserPane = false; + DontCreatePeer(); #endif if ( !wxControl::Create(parent, id, wxDefaultPosition, wxDefaultSize, style , wxDefaultValidator, name) )