X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fa3d4aaf0fdffa51372d15f17862cb7081687107..659d0ee81da0eb00220c598055c7ac2188a3d391:/include/wx/msw/headerctrl.h diff --git a/include/wx/msw/headerctrl.h b/include/wx/msw/headerctrl.h index 9eb0b24b94..5b268e9ed2 100644 --- a/include/wx/msw/headerctrl.h +++ b/include/wx/msw/headerctrl.h @@ -65,15 +65,14 @@ private: // common part of all ctors void Init(); - // wrapper around Header_{Set,Insert}Item(): either appends the item to the - // end or modifies the existing item by copying information from - // GetColumn(idx) to it - enum Operation { Set, Insert }; - void DoSetOrInsertItem(Operation oper, unsigned int idx); - - // send a click or double click event (depending on dblclk value) for the - // click with the given button on the given item - bool SendClickEvent(bool dblclk, unsigned int idx, int button); + // wrapper around Header_InsertItem(): insert the item by using information + // from GetColumn(idx) + void DoInsertItem(unsigned int idx); + + // get the event type corresponding to a click or double click event + // (depending on dblclk value) with the specified (using MSW convention) + // mouse button + wxEventType GetClickEventType(bool dblclk, int button); // the image list: initially NULL, created on demand