Index: window.c =================================================================== --- window.c (révision 64131) +++ window.c (copie de travail) @@ -1761,21 +1761,21 @@ * It seems there can be both an Ansi creator and Unicode Class Window * WndProc, unless the following overriding conditions occur: */ - if ( !bUnicodeWindow && - ( Class->atomClassName == gpsi->atomSysClass[ICLS_BUTTON] || - Class->atomClassName == gpsi->atomSysClass[ICLS_COMBOBOX] || - Class->atomClassName == gpsi->atomSysClass[ICLS_COMBOLBOX] || - Class->atomClassName == gpsi->atomSysClass[ICLS_DIALOG] || - Class->atomClassName == gpsi->atomSysClass[ICLS_EDIT] || - Class->atomClassName == gpsi->atomSysClass[ICLS_IME] || - Class->atomClassName == gpsi->atomSysClass[ICLS_LISTBOX] || - Class->atomClassName == gpsi->atomSysClass[ICLS_MDICLIENT] || - Class->atomClassName == gpsi->atomSysClass[ICLS_STATIC] ) ) - { // Override Class and set the window Ansi WndProc. - pWnd->state |= WNDS_ANSIWINDOWPROC; - pWnd->Unicode = FALSE; - } - else + // if ( !bUnicodeWindow && + // ( Class->atomClassName == gpsi->atomSysClass[ICLS_BUTTON] || + // Class->atomClassName == gpsi->atomSysClass[ICLS_COMBOBOX] || + // Class->atomClassName == gpsi->atomSysClass[ICLS_COMBOLBOX] || + // Class->atomClassName == gpsi->atomSysClass[ICLS_DIALOG] || + // Class->atomClassName == gpsi->atomSysClass[ICLS_EDIT] || + // Class->atomClassName == gpsi->atomSysClass[ICLS_IME] || + // Class->atomClassName == gpsi->atomSysClass[ICLS_LISTBOX] || + // Class->atomClassName == gpsi->atomSysClass[ICLS_MDICLIENT] || + // Class->atomClassName == gpsi->atomSysClass[ICLS_STATIC] ) ) + // { // Override Class and set the window Ansi WndProc. + // pWnd->state |= WNDS_ANSIWINDOWPROC; + // pWnd->Unicode = FALSE; + // } + // else { // Set the window Unicode WndProc. pWnd->state &= ~WNDS_ANSIWINDOWPROC; pWnd->Unicode = TRUE;