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
This commit is contained in:
Julian Smart
2005-07-19 19:55:03 +00:00
parent 056e68bb42
commit 228146b082

View File

@@ -295,6 +295,9 @@ bool wxComboBox::Enable(bool enable)
if ( !wxControl::Enable(enable) ) if ( !wxControl::Enable(enable) )
return false; return false;
if (m_text)
m_text->Enable(enable);
return true; return true;
} }