X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/55d99c7a77789ff4904bf96eddca3715eb5af9b9..dd38c87578df7a24a491401c943988e2bc89b62b:/src/common/textcmn.cpp?ds=sidebyside diff --git a/src/common/textcmn.cpp b/src/common/textcmn.cpp index 0e194c6ba3..6709d10e0b 100644 --- a/src/common/textcmn.cpp +++ b/src/common/textcmn.cpp @@ -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 ) {