Author: dchapyshev
Date: Tue Jun 24 04:59:35 2008
New Revision: 34068
URL:
http://svn.reactos.org/svn/reactos?rev=34068&view=rev
Log:
- Activate default layout on startup
Modified:
trunk/reactos/base/applications/kbswitch/kbswitch.c
Modified: trunk/reactos/base/applications/kbswitch/kbswitch.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/kbswitch…
==============================================================================
--- trunk/reactos/base/applications/kbswitch/kbswitch.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/kbswitch/kbswitch.c [iso-8859-1] Tue Jun 24 04:59:35
2008
@@ -395,6 +395,8 @@
AddTrayIcon(hwnd);
hRightPopupMenu = GetSubMenu(LoadMenu(hInst, MAKEINTRESOURCE(IDR_POPUP)),
0);
+ ActivateLayout(hwnd, ulCurrentLayoutNum);
+
return 0;
}
@@ -484,10 +486,10 @@
case WM_SETTINGCHANGE:
{
- if (wParam == SPI_SETDEFAULTINPUTLANG)
- {
- //FIXME: Should detect default language changes by CPL applet or by
other tools and update UI
- }
+ if (wParam == SPI_SETDEFAULTINPUTLANG)
+ {
+ //FIXME: Should detect default language changes by CPL applet or by other
tools and update UI
+ }
}
break;