]> git.saurik.com Git - wxWidgets.git/commitdiff
recreate the column instead of trying to update it in place, it's much simpler like...
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 9 Dec 2008 11:42:46 +0000 (11:42 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 9 Dec 2008 11:42:46 +0000 (11:42 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/headerctrl.h

index b0a3ae5c0b902fa39babfa23ebc92000b5f914e1..5b268e9ed2a3b4f7697997294a386d0c18072001 100644 (file)
@@ -65,11 +65,9 @@ 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);
+    // 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)