diff --git a/src/msw/sockmsw.cpp b/src/msw/sockmsw.cpp index 7bad1d450b..58557e4e6c 100644 --- a/src/msw/sockmsw.cpp +++ b/src/msw/sockmsw.cpp @@ -191,7 +191,7 @@ wxDynamicLibrary wxSocketMSWManager::gs_wsock32dll; bool wxSocketMSWManager::OnInit() { - static LPCTSTR pclassname = NULL; + LPCTSTR pclassname = NULL; int i; /* Create internal window for event notifications */