From: Vadim Zeitlin Date: Wed, 28 Dec 2011 17:32:32 +0000 (+0000) Subject: Compilation fix for VC6 after r70151. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/abb8764e32f03040cfa03353f2058a6b98a6e612?hp=0d68cd13598d84cbd080cd24f04bc58f7330d630 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 --- 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 // ----------------------------------------------------------------------------