X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/00887b391beda723d1a87bb094012c2061b65bda..3216dbf5dccab8ed6dc0245b7e5c998738ef51d7:/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")