X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/150e31d2088687cbfbab548f9e98918f8683d9b5..32485259c1342115488d219776dfebeb3d4d81b1:/include/wx/gtk/combobox.h?ds=sidebyside diff --git a/include/wx/gtk/combobox.h b/include/wx/gtk/combobox.h index c27d532b47..061d74289d 100644 --- a/include/wx/gtk/combobox.h +++ b/include/wx/gtk/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