From: Julian Smart Date: Tue, 19 Jul 2005 19:55:03 +0000 (+0000) Subject: Make sure text part of combobox is enabled/disabled too X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/228146b08230df0b1d1e8c52783d9322ae74ad4a Make sure text part of combobox is enabled/disabled too git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/combobox.cpp b/src/mac/carbon/combobox.cpp index bbc3110dbd..0241b689ac 100644 --- a/src/mac/carbon/combobox.cpp +++ b/src/mac/carbon/combobox.cpp @@ -295,6 +295,9 @@ bool wxComboBox::Enable(bool enable) if ( !wxControl::Enable(enable) ) return false; + if (m_text) + m_text->Enable(enable); + return true; }