From 3432c148c23b6ce89f784865fbfe1ba23e514d39 Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Thu, 22 May 2008 16:46:08 +0000 Subject: [PATCH] add missing static keyword git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/toplevel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/toplevel.cpp b/src/msw/toplevel.cpp index 11aa012a7f..a75e3e94cc 100644 --- a/src/msw/toplevel.cpp +++ b/src/msw/toplevel.cpp @@ -1080,7 +1080,7 @@ void wxTopLevelWindowMSW::RequestUserAttention(int flags) #if defined(FLASHW_STOP) && defined(VK_XBUTTON1) && wxUSE_DYNLIB_CLASS // available in the headers, check if it is supported by the system typedef BOOL (WINAPI *FlashWindowEx_t)(FLASHWINFO *pfwi); - FlashWindowEx_t s_pfnFlashWindowEx = NULL; + static FlashWindowEx_t s_pfnFlashWindowEx = NULL; if ( !s_pfnFlashWindowEx ) { wxDynamicLibrary dllUser32(_T("user32.dll")); -- 2.47.2