X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/150e31d2088687cbfbab548f9e98918f8683d9b5..f6e9a8189cfd9189418d6c0976a8a07f3bcd914b:/include/wx/combobox.h diff --git a/include/wx/combobox.h b/include/wx/combobox.h index 51b88e169f..578801b858 100644 --- a/include/wx/combobox.h +++ b/include/wx/combobox.h @@ -16,12 +16,13 @@ #if wxUSE_COMBOBOX -WXDLLEXPORT_DATA(extern const wxChar*) wxComboBoxNameStr; +extern WXDLLEXPORT_DATA(const wxChar*) wxComboBoxNameStr; // ---------------------------------------------------------------------------- // wxComboBoxBase: this interface defines the methods wxComboBox must implement // ---------------------------------------------------------------------------- +#include "wx/textctrl.h" #include "wx/ctrlsub.h" class WXDLLEXPORT wxComboBoxBase : public wxItemContainer @@ -36,7 +37,7 @@ public: virtual void Paste() = 0; virtual void SetInsertionPoint(long pos) = 0; virtual long GetInsertionPoint() const = 0; - virtual long GetLastPosition() const = 0; + virtual wxTextPos GetLastPosition() const = 0; virtual void Replace(long from, long to, const wxString& value) = 0; virtual void SetSelection(long from, long to) = 0; virtual void SetEditable(bool editable) = 0;