compilation fix for old SDKs (VC6...) which don't define HDM_SETBITMAPMARGIN/Header_SetBitmapMargin

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-01-18 15:09:52 +00:00
parent 9485b24f43
commit 9b66a1d31a

View File

@@ -39,6 +39,15 @@
#include "wx/msw/wrapcctl.h"
#include "wx/msw/private.h"
#ifndef HDM_SETBITMAPMARGIN
#define HDM_SETBITMAPMARGIN 0x1234
#endif
#ifndef Header_SetBitmapMargin
#define Header_SetBitmapMargin(hwnd, margin) \
::SendMessage((hwnd), HDM_SETBITMAPMARGIN, (WPARAM)(margin), 0)
#endif
// from src/msw/listctrl.cpp
extern int WXDLLIMPEXP_CORE wxMSWGetColumnClicked(NMHDR *nmhdr, POINT *ptClick);