Refactor wxTextEntry::AutoComplete() to simply call DoAutoCompleteXXX().
No real changes, just make the public AutoComplete() non-virtual and add virtual DoAutoCompleteXXX() methods to make it easier to add new public AutoComplete() overloads in the upcoming commits. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -303,7 +303,7 @@ void wxTextEntry::GetSelection(long *from, long *to) const
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
#if wxUSE_OLE
|
||||
bool wxTextEntry::AutoCompleteFileNames()
|
||||
bool wxTextEntry::DoAutoCompleteFileNames()
|
||||
{
|
||||
#ifdef HAS_AUTOCOMPLETE
|
||||
typedef HRESULT (WINAPI *SHAutoComplete_t)(HWND, DWORD);
|
||||
@@ -337,7 +337,7 @@ bool wxTextEntry::AutoCompleteFileNames()
|
||||
#endif // HAS_AUTOCOMPLETE/!HAS_AUTOCOMPLETE
|
||||
}
|
||||
|
||||
bool wxTextEntry::AutoComplete(const wxArrayString& choices)
|
||||
bool wxTextEntry::DoAutoCompleteStrings(const wxArrayString& choices)
|
||||
{
|
||||
#ifdef HAS_AUTOCOMPLETE
|
||||
// if we had an old enumerator we must reuse it as IAutoComplete doesn't
|
||||
|
Reference in New Issue
Block a user