]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/combobox.cpp
compilation fix; unTABbed
[wxWidgets.git] / src / mac / carbon / combobox.cpp
index 40caccafc811508aa3f097b668bc2d71ea389a9b..0241b689ace1bc06aea045b5179e7d4ab86453ec 100644 (file)
@@ -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;
 }