compilation fixes for "nocompatibility" mode

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-01-19 13:18:51 +00:00
parent ce3ed50dbe
commit c75e66953f
2 changed files with 18 additions and 18 deletions

View File

@@ -686,7 +686,7 @@ static void wxDialogBoxEventHandler (Widget wid,
// if this returns TRUE, set continueToDispatch to False
// (don't continue processing).
// Otherwise set it to True and call OnChar.
wxKeyEvent keyEvent(wxEVENT_TYPE_CHAR);
wxKeyEvent keyEvent(wxEVT_CHAR);
if (wxTranslateKeyEvent(keyEvent, dialog, wid, event))
{
keyEvent.SetEventObject(dialog);