no real changes, just use more readable helper wxTextEntry methods (patch 1910165 )

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-03-15 02:52:32 +00:00
parent c2208899ed
commit e976429dfa
2 changed files with 4 additions and 4 deletions

View File

@@ -501,7 +501,7 @@ void wxComboBox::OnDelete(wxCommandEvent& WXUNUSED(event))
void wxComboBox::OnSelectAll(wxCommandEvent& WXUNUSED(event))
{
SetSelection(-1, -1);
SelectAll();
}
void wxComboBox::OnUpdateCut(wxUpdateUIEvent& event)
@@ -536,7 +536,7 @@ void wxComboBox::OnUpdateDelete(wxUpdateUIEvent& event)
void wxComboBox::OnUpdateSelectAll(wxUpdateUIEvent& event)
{
event.Enable(GetLastPosition() > 0);
event.Enable(!wxTextEntry::IsEmpty());
}
#endif // wxUSE_COMBOBOX