- long GetInsertionPoint() const;
-
- /**
- Returns the last position in the combobox text field.
- */
- virtual wxTextPos GetLastPosition() const;
-
- /**
- This is the same as wxTextCtrl::GetSelection() for the text control
- which is part of the combobox. Notice that this is a different method
- from wxControlWithItems::GetSelection().
-
- Currently this method is only implemented in wxMSW and wxGTK.
- */
- void GetSelection(long* from, long* to) const;
-
- /**
- Returns the current value in the combobox text field.
- */
- wxString GetValue() const;
-
- /**
- Pastes text from the clipboard to the text field.
- */
- void Paste();
-
- /**
- Redoes the last undo in the text field. Windows only.
- */
- void Redo();
-
- /**
- Removes the text between the two positions in the combobox text field.
-
- @param from
- The first position.
- @param to
- The last position.
- */
- void Remove(long from, long to);
-
- /**
- Replaces the text between two positions with the given text, in the
- combobox text field.
-
- @param from
- The first position.
- @param to
- The second position.
- @param text
- The text to insert.
- */
- void Replace(long from, long to, const wxString& text);