]> git.saurik.com Git - wxWidgets.git/commitdiff
Make sure text part of combobox is enabled/disabled too
authorJulian Smart <julian@anthemion.co.uk>
Tue, 19 Jul 2005 19:55:03 +0000 (19:55 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Tue, 19 Jul 2005 19:55:03 +0000 (19:55 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/combobox.cpp

index bbc3110dbdb678b3afeabec89c9272cfb7e96275..0241b689ace1bc06aea045b5179e7d4ab86453ec 100644 (file)
@@ -295,6 +295,9 @@ bool wxComboBox::Enable(bool enable)
     if ( !wxControl::Enable(enable) )
         return false;
 
     if ( !wxControl::Enable(enable) )
         return false;
 
+    if (m_text)
+        m_text->Enable(enable);
+
     return true;
 }
 
     return true;
 }