]> git.saurik.com Git - wxWidgets.git/commitdiff
define HDS_DRAGDROP and HDS_FULLDRAG if the SDK is too old to define them
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 29 Oct 2007 13:46:44 +0000 (13:46 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 29 Oct 2007 13:46:44 +0000 (13:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/datavgen.cpp

index 1b6a371e8224fd0f888e2ea098b3c1ef4aed80f0..a6c94b1e5d98e17d16abc0e915f54b6e99746a70 100644 (file)
@@ -1193,6 +1193,13 @@ void wxDataViewHeaderWindowBase::SendEvent(wxEventType type, unsigned int n)
 
 #if defined(__WXMSW__) && USE_NATIVE_HEADER_WINDOW
 
+#ifndef HDS_DRAGDROP
+    #define HDS_DRAGDROP 0x0040
+#endif
+#ifndef HDS_FULLDRAG
+    #define HDS_FULLDRAG 0x0080
+#endif
+
 // implemented in msw/listctrl.cpp:
 int WXDLLIMPEXP_CORE wxMSWGetColumnClicked(NMHDR *nmhdr, POINT *ptClick);