]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/textentry.cpp
use #defines, not typedefs, for compatibility class names declarations to avoid break...
[wxWidgets.git] / src / msw / textentry.cpp
index b763b5de8e9051f460441b936932a61e7d2be0a7..4ea98d5bb0dc450453fd37884705350f1b2c9cfa 100644 (file)
@@ -287,6 +287,7 @@ void wxTextEntry::GetSelection(long *from, long *to) const
 // auto-completion
 // ----------------------------------------------------------------------------
 
+#if wxUSE_OLE
 bool wxTextEntry::AutoCompleteFileNames()
 {
 #ifdef HAS_AUTOCOMPLETE
@@ -378,6 +379,7 @@ bool wxTextEntry::AutoComplete(const wxArrayString& choices)
     return false;
 #endif // HAS_AUTOCOMPLETE/!HAS_AUTOCOMPLETE
 }
+#endif // wxUSE_OLE
 
 // ----------------------------------------------------------------------------
 // editable state