- Returns the last position in the combobox text field.
- */
- virtual long 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.
- */
- virtual void GetSelection(long* from, long* to) const;
-
- /**
- Returns the current value in the combobox text field.
- */
- virtual wxString GetValue() const;
-
- /**
- Pastes text from the clipboard to the text field.
- */
- virtual void Paste();
-
- /**
- Redoes the last undo in the text field. Windows only.
- */
- virtual void Redo();
-
- /**
- Removes the text between the two positions in the combobox text field.
-
- @param from
- The first position.
- @param to
- The last position.
- */
- virtual 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.
- */
- virtual void Replace(long from, long to, const wxString& text);
-
- /**
- Sets the insertion point in the combobox text field.
-
- @param pos
- The new insertion point.
- */
- virtual void SetInsertionPoint(long pos);
-
- /**
- Sets the insertion point at the end of the combobox text field.
- */
- virtual void SetInsertionPointEnd();
-
- /**
- Selects the text between the two positions, in the combobox text field.
-
- @param from
- The first position.
- @param to
- The second position.