diff --git a/src/msw/window.cpp b/src/msw/window.cpp index 4b88bb2bfd..a2bb278d59 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -254,7 +254,7 @@ public: private: static void LoadGestureSymbols() { - wxDynamicLibrary dll("User32.dll"); + wxLoadedDLL dll(wxS("user32.dll")); wxDL_INIT_FUNC(ms_pfn, GetGestureInfo, dll); wxDL_INIT_FUNC(ms_pfn, CloseGestureInfoHandle, dll);