add more wxUSE_XXX checks

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-09-03 07:29:31 +00:00
parent 9da38912d3
commit 6502dc6823
5 changed files with 13 additions and 2 deletions

View 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