From abb8764e32f03040cfa03353f2058a6b98a6e612 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 28 Dec 2011 17:32:32 +0000 Subject: [PATCH] Compilation fix for VC6 after r70151. VC6 standard SDK didn't define WM_UNINITMENUPOPUP, so define it for it. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/frame.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/msw/frame.cpp b/src/msw/frame.cpp index ed3369c64c..c9c90a78c7 100644 --- a/src/msw/frame.cpp +++ b/src/msw/frame.cpp @@ -57,6 +57,12 @@ #include "wx/univ/colschem.h" #endif // __WXUNIVERSAL__ +// FIXME-VC6: Only VC6 doesn't have this in its standard headers so this +// could be removed once support for it is dropped. +#ifndef WM_UNINITMENUPOPUP + #define WM_UNINITMENUPOPUP 0x0125 +#endif + // ---------------------------------------------------------------------------- // globals // ---------------------------------------------------------------------------- -- 2.45.2