X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fa2f57be4db838388659fe48dbf5546daf5364f8..09b67c660cadef225cbf8f1986cfe591f8feae8c:/include/wx/msw/textentry.h diff --git a/include/wx/msw/textentry.h b/include/wx/msw/textentry.h index a39139df66..ed202cac11 100644 --- a/include/wx/msw/textentry.h +++ b/include/wx/msw/textentry.h @@ -42,6 +42,13 @@ public: { DoSetSelection(from, to); } virtual void GetSelection(long *from, long *to) const; + // auto-completion uses COM under Windows so they won't work without + // wxUSE_OLE as OleInitialize() is not called then +#if wxUSE_OLE + virtual bool AutoComplete(const wxArrayString& choices); + virtual bool AutoCompleteFileNames(); +#endif // wxUSE_OLE + virtual bool IsEditable() const; virtual void SetEditable(bool editable);