From 211b16618250967d37d4ff3ad391b93c5aac5e4e Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 5 Mar 2014 16:29:40 +0000 Subject: [PATCH] Another compilation fix for wxUniv/MSW build. This should have been part of r76077, see #16039. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/toplevel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/msw/toplevel.cpp b/src/msw/toplevel.cpp index cda70de511..5f28ba1c48 100644 --- a/src/msw/toplevel.cpp +++ b/src/msw/toplevel.cpp @@ -431,7 +431,7 @@ WXLRESULT wxTopLevelWindowMSW::MSWWindowProc(WXUINT message, WXWPARAM wParam, WX break; #if !defined(__WXMICROWIN__) && !defined(__WXWINCE__) -#if wxUSE_MENUS +#if wxUSE_MENUS && !defined(__WXUNIVERSAL__) case WM_INITMENUPOPUP: processed = HandleMenuPopup(wxEVT_MENU_OPEN, (WXHMENU)wParam); break; @@ -459,7 +459,7 @@ WXLRESULT wxTopLevelWindowMSW::MSWWindowProc(WXUINT message, WXWPARAM wParam, WX case WM_UNINITMENUPOPUP: processed = HandleMenuPopup(wxEVT_MENU_CLOSE, (WXHMENU)wParam); break; -#endif // wxUSE_MENUS +#endif // wxUSE_MENUS && !__WXUNIVERSAL__ #endif // !__WXMICROWIN__ }