X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4a5d352f8a257854a05087cad5ed700aed116d2f..df7998fce5569c46a0f14456966adcef6521efc9:/src/mac/carbon/combobox.cpp diff --git a/src/mac/carbon/combobox.cpp b/src/mac/carbon/combobox.cpp index 40caccafc8..0241b689ac 100644 --- a/src/mac/carbon/combobox.cpp +++ b/src/mac/carbon/combobox.cpp @@ -22,9 +22,7 @@ #include "wx/menu.h" #include "wx/mac/uma.h" -#if !USE_SHARED_LIBRARY IMPLEMENT_DYNAMIC_CLASS(wxComboBox, wxControl) -#endif // composite combobox implementation by Dan "Bud" Keith bud@otsys.com @@ -297,6 +295,9 @@ bool wxComboBox::Enable(bool enable) if ( !wxControl::Enable(enable) ) return false; + if (m_text) + m_text->Enable(enable); + return true; }