]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/taskbar.cpp
added vendor display name (for consistency with app display name &c) (patch 1831303)
[wxWidgets.git] / src / msw / taskbar.cpp
index 82e2305f9c9632d9333186bac34bbc60a603fe2a..52e05fee6941fb24159fe8b1a2d4ad0033bd1ad0 100644 (file)
@@ -33,8 +33,8 @@
 #include "wx/dynlib.h"
 
 // initialized on demand
-UINT   gs_msgTaskbar = 0;
-UINT   gs_msgRestartTaskbar = 0;
+static UINT gs_msgTaskbar = 0;
+static UINT gs_msgRestartTaskbar = 0;
 
 
 IMPLEMENT_DYNAMIC_CLASS(wxTaskBarIcon, wxEvtHandler)
@@ -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