X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/899544330f37440c140b72a014c518a911b5b7a4..f968da288ee04ec5c0265861bb7a18182c0fb22e:/src/motif/combobox_native.cpp diff --git a/src/motif/combobox_native.cpp b/src/motif/combobox_native.cpp index 4bb234346a..1cadd49e94 100644 --- a/src/motif/combobox_native.cpp +++ b/src/motif/combobox_native.cpp @@ -226,7 +226,7 @@ void wxComboBox::DoDeleteOneItem(unsigned int n) AdjustDropDownListSize(); } -void wxComboBox::DoClear() +void wxComboBox::Clear() { #ifdef LESSTIF_VERSION XmListDeleteAllItems (GetXmList(this)); @@ -237,9 +237,10 @@ void wxComboBox::DoClear() } #endif - wxControlWithItems::DoClear(); m_noStrings = 0; AdjustDropDownListSize(); + + wxTextEntry::Clear(); } void wxComboBox::SetSelection (int n) @@ -262,7 +263,7 @@ void wxComboBox::SetSelection (int n) m_inSetSelection = false; } -int wxComboBox::GetSelection (void) const +int wxComboBox::GetSelection() const { return wxDoGetSelectionInList( GetXmList( this ) ); } @@ -279,11 +280,6 @@ int wxComboBox::FindString(const wxString& s, bool WXUNUSED(bCase)) const return wxDoFindStringInList( GetXmList( this ), s ); } -void wxComboBox::SetEditable(bool WXUNUSED(editable)) -{ - // TODO -} - void wxComboBoxCallback (Widget WXUNUSED(w), XtPointer clientData, XmComboBoxCallbackStruct * cbs) {