From c7ebe8ded152d7979fc866825ee65267d6b09702 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 10 Jul 2012 05:12:05 +0000 Subject: [PATCH] Interface fixes for Phoenix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/headerctrl.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/interface/wx/headerctrl.h b/interface/wx/headerctrl.h index 06efe8e7b2..0edeb4ba24 100644 --- a/interface/wx/headerctrl.h +++ b/interface/wx/headerctrl.h @@ -675,29 +675,35 @@ protected: class wxHeaderCtrlEvent : public wxNotifyEvent { public: + wxHeaderCtrlEvent(wxEventType commandType = wxEVT_NULL, int winid = 0); + wxHeaderCtrlEvent(const wxHeaderCtrlEvent& event); + /** Return the index of the column affected by this event. This method can be called for all header control events. */ int GetColumn() const; - + void SetColumn(int col); + /** Return the current width of the column. This method can only be called for the dragging events. */ int GetWidth() const; - + void SetWidth(int width); + /** Return the new order of the column. - This method can only be called for end reorder event for which it + This method can only be called for a reorder event for which it indicates the tentative new position for the column GetColumn() selected by the user. If the event is not vetoed, this will become the new column position in wxHeaderCtrl::GetColumnsOrder(). */ unsigned int GetNewOrder() const; + void SetNewOrder(unsigned int order); }; -- 2.45.2