diff options
author | Maurice Kalinowski <maurice.kalinowski@nokia.com> | 2009-05-08 07:09:32 (GMT) |
---|---|---|
committer | Maurice Kalinowski <maurice.kalinowski@nokia.com> | 2009-05-08 07:09:32 (GMT) |
commit | a0fd01a518362f718e44bdb0eb7653b3db5bfa22 (patch) | |
tree | 5f820bc1f1f13a1a9a741b1ab0b52316f6004bcf | |
parent | 6c067866db65f113237a4c28374317c948da8ba9 (diff) | |
download | Qt-a0fd01a518362f718e44bdb0eb7653b3db5bfa22.zip Qt-a0fd01a518362f718e44bdb0eb7653b3db5bfa22.tar.gz Qt-a0fd01a518362f718e44bdb0eb7653b3db5bfa22.tar.bz2 |
fix WinCE build
Reviewed-by: thartman
-rw-r--r-- | src/gui/widgets/qmenu_wince.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/qmenu_wince.cpp b/src/gui/widgets/qmenu_wince.cpp index 9a7374a..0befa6d 100644 --- a/src/gui/widgets/qmenu_wince.cpp +++ b/src/gui/widgets/qmenu_wince.cpp @@ -214,10 +214,12 @@ static HWND qt_wce_create_menubar(HWND parentHandle, HINSTANCE resourceHandle, i mbi.nToolBarId = toolbarID; if (ptrCreateMenuBar(&mbi)) { +#ifdef Q_WS_WINCE_WM // Tell the menu bar that we want to override hot key behaviour. LPARAM lparam = MAKELPARAM(SHMBOF_NODEFAULT | SHMBOF_NOTIFY, SHMBOF_NODEFAULT | SHMBOF_NOTIFY); SendMessage(mbi.hwndMB, SHCMBM_OVERRIDEKEY, VK_TBACK, lparam); +#endif return mbi.hwndMB; } } |