Simplify wxComboBox::GetEditable()
Use m_entry that we already store instead of retrieving it from GTK. No real changes.
This commit is contained in:
@@ -219,7 +219,7 @@ void wxComboBox::GTKCreateComboBoxWidget()
|
|||||||
|
|
||||||
GtkEditable *wxComboBox::GetEditable() const
|
GtkEditable *wxComboBox::GetEditable() const
|
||||||
{
|
{
|
||||||
return GTK_EDITABLE(gtk_bin_get_child(GTK_BIN(m_widget)));
|
return GTK_EDITABLE(m_entry);
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxComboBox::OnChar( wxKeyEvent &event )
|
void wxComboBox::OnChar( wxKeyEvent &event )
|
||||||
|
Reference in New Issue
Block a user