]> git.saurik.com Git - wxWidgets.git/commitdiff
Compilation fix for VC6 after r70151.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 28 Dec 2011 17:32:32 +0000 (17:32 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 28 Dec 2011 17:32:32 +0000 (17:32 +0000)
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

index ed3369c64cb713c85316aac6ec2186cbf7952c42..c9c90a78c7a9a68621cfbdaab42542ca13c9d567 100644 (file)
     #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
 // ----------------------------------------------------------------------------