removed code which had no effect in HandleChar()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -4921,31 +4921,7 @@ bool wxWindowMSW::HandleChar(WXWPARAM wParam, WXLPARAM lParam, bool isASCII)
|
|||||||
int id;
|
int id;
|
||||||
if ( isASCII )
|
if ( isASCII )
|
||||||
{
|
{
|
||||||
// If 1 -> 26, translate to either special keycode or just set
|
|
||||||
// ctrlDown. IOW, Ctrl-C should result in keycode == 3 and
|
|
||||||
// ControlDown() == true.
|
|
||||||
id = wParam;
|
id = wParam;
|
||||||
if ( (id > 0) && (id < 27) )
|
|
||||||
{
|
|
||||||
switch (id)
|
|
||||||
{
|
|
||||||
case 13:
|
|
||||||
id = WXK_RETURN;
|
|
||||||
break;
|
|
||||||
|
|
||||||
case 8:
|
|
||||||
id = WXK_BACK;
|
|
||||||
break;
|
|
||||||
|
|
||||||
case 9:
|
|
||||||
id = WXK_TAB;
|
|
||||||
break;
|
|
||||||
|
|
||||||
default:
|
|
||||||
//ctrlDown = true;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else // we're called from WM_KEYDOWN
|
else // we're called from WM_KEYDOWN
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user