compilation fix for wxUSE_DYNLIB_CLASS == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -460,6 +460,7 @@ void wxDrawLine(HDC hdc, int x1, int y1, int x2, int y2)
|
|||||||
|
|
||||||
extern bool wxEnableFileNameAutoComplete(HWND hwnd)
|
extern bool wxEnableFileNameAutoComplete(HWND hwnd)
|
||||||
{
|
{
|
||||||
|
#if wxUSE_DYNLIB_CLASS
|
||||||
typedef HRESULT (WINAPI *SHAutoComplete_t)(HWND, DWORD);
|
typedef HRESULT (WINAPI *SHAutoComplete_t)(HWND, DWORD);
|
||||||
|
|
||||||
static SHAutoComplete_t s_pfnSHAutoComplete = NULL;
|
static SHAutoComplete_t s_pfnSHAutoComplete = NULL;
|
||||||
@@ -494,5 +495,9 @@ extern bool wxEnableFileNameAutoComplete(HWND hwnd)
|
|||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
#else
|
||||||
|
wxUnusedVar(hwnd);
|
||||||
|
return false;
|
||||||
|
#endif // wxUSE_DYNLIB_CLASS/!wxUSE_DYNLIB_CLASS
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user