Fix some GCC 3.2 -O2 warnings.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon
2003-04-07 17:32:19 +00:00
parent 9ce8d6a2b0
commit 02a48e3b0a
4 changed files with 7 additions and 8 deletions

View 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 )
{