]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/control.cpp
Don't call StartingKey if the key was F2
[wxWidgets.git] / src / os2 / control.cpp
index c9354af222b8161feb264597823c71ce9d8ffc8e..d515341c841da76459306c02b6f3fd79139dc08b 100644 (file)
@@ -108,14 +108,14 @@ bool wxControl::OS2CreateControl(
        (void) OS2GetStyle(GetWindowStyle(), &dwExstyle);
     }
     //
-    // All controls should have these styles (wxWindows creates all controls
+    // All controls should have these styles (wxWidgets creates all controls
     // visible by default)
     //
     if (m_isShown )
         dwStyle |= WS_VISIBLE;
 
     wxWindow*                       pParent = GetParent();
-    PSZ                             zClass;
+    PSZ                             zClass = "";
 
     if (!pParent)
         return FALSE;