]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/taskbar.cpp
use const for xpm icons
[wxWidgets.git] / src / msw / taskbar.cpp
index 45ef85996cca324b4c7a82d4a3ca7cdfaa8c5892..52e05fee6941fb24159fe8b1a2d4ad0033bd1ad0 100644 (file)
@@ -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