]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/textcmn.cpp
clicking on a panel without children should give it the focus (closes 215436)
[wxWidgets.git] / src / common / textcmn.cpp
index 0e194c6ba3c6bf38b431aaee5aaedae22a20078e..6709d10e0b6246ac46897cb4cff7f4166a542114 100644 (file)
@@ -285,7 +285,7 @@ bool wxTextCtrlBase::EmulateKeyPress(const wxKeyEvent& event)
 {
     // the generic version is unused in wxMSW
 #ifndef __WIN32__
-    wxChar ch;
+    wxChar ch = 0;
     int keycode = event.GetKeyCode();
     switch ( keycode )
     {