win32/editor: Consider editor active once window has been created

Nicolas Hake 2010-12-13 17:37:07 +01:00
parent d59d5b94f1
commit 96f65c21a9
1 changed files with 1 additions and 0 deletions

View File

@ -201,6 +201,7 @@ INT_PTR CALLBACK ConsoleDlgProc(HWND hDlg, UINT Msg, WPARAM wParam, LPARAM lPara
return true;
//------------------------------------------------------------------------------------------------------------
case WM_INITDIALOG:
Console.Active = true;
SendMessage(hDlg,DM_SETDEFID,(WPARAM)IDOK,(LPARAM)0);
C4ConsoleGUI::State::UpdateMenuText(Console, GetMenu(hDlg));
return true;