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:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user