Fix WM_UNINITMENUPOPUP missing definition for VC6.

The previous workaround of defining it explicitly if it's not defined was left
in src/msw/frame.cpp while the code using WM_UNINITMENUPOPUP was moved to
src/msw/toplevel.cpp in r73562. Move the fallback definition there too.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2013-03-19 02:58:33 +00:00
parent 8ea079b33e
commit bceb01f728
2 changed files with 6 additions and 6 deletions

View File

@ -57,12 +57,6 @@
#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
// ----------------------------------------------------------------------------

View File

@ -63,6 +63,12 @@
#define ICON_SMALL 0
#endif
// 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
// ----------------------------------------------------------------------------