X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/150e31d2088687cbfbab548f9e98918f8683d9b5..6ca154fcc14a2532798a23977baee2eed3179d19:/include/wx/gtk1/combobox.h diff --git a/include/wx/gtk1/combobox.h b/include/wx/gtk1/combobox.h index c27d532b47..061d74289d 100644 --- a/include/wx/gtk1/combobox.h +++ b/include/wx/gtk1/combobox.h @@ -5,7 +5,7 @@ // Created: 01/02/97 // Id: $Id$ // Copyright: (c) 1998 Robert Roebling -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -95,8 +95,6 @@ public: int GetCount() const; int Number() const { return GetCount(); } void SetSelection( int n ); - void Select( int n ) { return SetSelection( n ); } - bool SetStringSelection( const wxString &string ); void SetString(int n, const wxString &text); wxString GetValue() const; @@ -111,7 +109,7 @@ public: void SetInsertionPoint( long pos ); void SetInsertionPointEnd() { SetInsertionPoint( -1 ); } long GetInsertionPoint() const; - long GetLastPosition() const; + virtual wxTextPos GetLastPosition() const; void Remove(long from, long to) { Replace(from, to, wxEmptyString); } void Replace( long from, long to, const wxString& value ); void SetSelection( long from, long to ); @@ -122,7 +120,7 @@ public: bool CanUndo() const; bool CanRedo() const; void SelectAll(); - bool IsEditable() const { return !HasFlag(wxCB_READONLY); } + bool IsEditable() const ; bool HasSelection() const ; // implementation