X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/00887b391beda723d1a87bb094012c2061b65bda..5ed738a766bb06539893bd424759e75926c43e15:/wxPython/demo/wxListCtrl.py diff --git a/wxPython/demo/wxListCtrl.py b/wxPython/demo/wxListCtrl.py index 41645a29c3..b861392e54 100644 --- a/wxPython/demo/wxListCtrl.py +++ b/wxPython/demo/wxListCtrl.py @@ -223,6 +223,10 @@ class TestListCtrlPanel(wxPanel, wxColumnSorterMixin): def OnColBeginDrag(self, event): self.log.WriteText("OnColBeginDrag\n") + ## Show how to not allow a column to be resized + #if event.GetColumn() == 0: + # event.Veto() + def OnColDragging(self, event): self.log.WriteText("OnColDragging\n")