Compilation fixes for old SDKs (VC6) after recent commit.

Define WM_QUERYUISTATE in wx/msw/missing.h too as src/msw/statbox.cpp uses it
now.

Also move DT_HIDEPREFIX definition from wx/msw/private/button.h to missing.h
as well as it's now used in statbox.cpp too. Include missing.h explicitly from
the files that use DT_HIDEPREFIX.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2010-09-21 12:57:59 +00:00
parent 74d3098357
commit 2f0312f0c4
4 changed files with 14 additions and 9 deletions

View File

@ -29,19 +29,26 @@
#define WM_CONTEXTMENU 0x007B
#endif
// Needed by toplevel.cpp
#ifndef WM_UPDATEUISTATE
#define WM_UPDATEUISTATE 0x0128
#endif
#ifndef WM_CHANGEUISTATE
#define WM_CHANGEUISTATE 0x0127
#endif
#ifndef WM_UPDATEUISTATE
#define WM_UPDATEUISTATE 0x0128
#endif
#ifndef WM_QUERYUISTATE
#define WM_QUERYUISTATE 0x0129
#endif
#ifndef WM_PRINTCLIENT
#define WM_PRINTCLIENT 0x318
#endif
#ifndef DT_HIDEPREFIX
#define DT_HIDEPREFIX 0x00100000
#endif
// Needed by toplevel.cpp
#ifndef UIS_SET
#define UIS_SET 1

View File

@ -28,10 +28,6 @@
#define BST_INDETERMINATE 0x0002
#endif
#ifndef DT_HIDEPREFIX
#define DT_HIDEPREFIX 0x00100000
#endif
namespace wxMSWButton
{

View File

@ -45,6 +45,7 @@
#include "wx/msw/private/button.h"
#include "wx/msw/private/dc.h"
#include "wx/private/window.h"
#include "wx/msw/missing.h"
using namespace wxMSWImpl;

View File

@ -39,6 +39,7 @@
#include "wx/renderer.h"
#include "wx/msw/uxtheme.h"
#include "wx/msw/private/button.h"
#include "wx/msw/missing.h"
// ----------------------------------------------------------------------------
// constants