#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)
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