]> git.saurik.com Git - wxWidgets.git/commitdiff
initialize hidden window class name with NULL
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 25 Sep 2003 22:06:00 +0000 (22:06 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 25 Sep 2003 22:06:00 +0000 (22:06 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/gsockmsw.c

index 96b237f1043e5e8b6bf33413c3cc50615225ee52..f9efe7cb86527e9fa4ace6684af9a2030b1bf035 100644 (file)
@@ -112,7 +112,7 @@ static int firstAvailable;
 
 int _GSocket_GUI_Init(void)
 {
-  LPCTSTR pclassname;
+  static LPCTSTR pclassname = NULL;
   int i;
 
   /* Create internal window for event notifications */