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:
@@ -295,6 +295,9 @@ bool wxComboBox::Enable(bool enable)
|
||||
if ( !wxControl::Enable(enable) )
|
||||
return false;
|
||||
|
||||
if (m_text)
|
||||
m_text->Enable(enable);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user