X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/22c1dcbb5928bd7db824e15d0cb712504da72cf6..8d7490018a47f60149a35ced6f880ec834aba471:/src/msw/taskbar.cpp diff --git a/src/msw/taskbar.cpp b/src/msw/taskbar.cpp index 45ef85996c..cfda845543 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 @@ -270,6 +269,7 @@ long wxTaskBarIcon::WindowProc(unsigned int msg, { m_iconAdded = false; SetIcon(m_icon, m_strTooltip); + return 0; } // this function should only be called for gs_msg(Restart)Taskbar messages