rename wxHeaderCtrl DRAG events into RESIZE ones as we're also going to have column drag-reodering

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-12-08 16:38:56 +00:00
parent afdf99e13a
commit 396825dced
6 changed files with 35 additions and 34 deletions

View File

@@ -332,19 +332,19 @@ bool wxHeaderCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result)
// ASCII and Unicode versions of this message
case HDN_BEGINTRACKA:
case HDN_BEGINTRACKW:
evtType = wxEVT_COMMAND_HEADER_BEGIN_DRAG;
evtType = wxEVT_COMMAND_HEADER_BEGIN_RESIZE;
// fall through
case HDN_TRACKA:
case HDN_TRACKW:
if ( evtType == wxEVT_NULL )
evtType = wxEVT_COMMAND_HEADER_DRAGGING;
evtType = wxEVT_COMMAND_HEADER_RESIZING;
// fall through
case HDN_ENDTRACKA:
case HDN_ENDTRACKW:
if ( evtType == wxEVT_NULL )
evtType = wxEVT_COMMAND_HEADER_END_DRAG;
evtType = wxEVT_COMMAND_HEADER_END_RESIZE;
width = nmhdr->pitem->cxy;
break;