X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/22c1dcbb5928bd7db824e15d0cb712504da72cf6..35bb3cb155917b4287fb2a3841bea22919a3d499:/src/msw/taskbar.cpp diff --git a/src/msw/taskbar.cpp b/src/msw/taskbar.cpp index 45ef85996c..52e05fee69 100644 --- a/src/msw/taskbar.cpp +++ b/src/msw/taskbar.cpp @@ -61,8 +61,7 @@ static BOOL wxShellNotifyIcon(DWORD dwMessage, NOTIFYICONDATA *pData) wxDynamicLibrary dllShell("shell32.dll"); if ( dllShell.IsLoaded() ) { - s_pfnShell_NotifyIcon = - (Shell_NotifyIcon_t)dllShell.GetSymbolAorW("Shell_NotifyIcon"); + wxDL_INIT_FUNC_AW(s_pfn, Shell_NotifyIcon, dllShell); } // NB: it's ok to destroy dllShell here, we link to shell32.dll