]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/textentry.h
compilation fix for some build configurations (forward declare wxMenuItem)
[wxWidgets.git] / include / wx / msw / textentry.h
index 5466710e1edf12ce1b0618d6fc47e5b7bb605854..ed202cac11ded488383d5123558710ca8bc9d80c 100644 (file)
@@ -42,7 +42,12 @@ public:
         { DoSetSelection(from, to); }\r
     virtual void GetSelection(long *from, long *to) const;\r
 \r
+    // auto-completion uses COM under Windows so they won't work without\r
+    // wxUSE_OLE as OleInitialize() is not called then\r
+#if wxUSE_OLE\r
+    virtual bool AutoComplete(const wxArrayString& choices);\r
     virtual bool AutoCompleteFileNames();\r
+#endif // wxUSE_OLE\r
 \r
     virtual bool IsEditable() const;\r
     virtual void SetEditable(bool editable);\r