added sample (currently commented out) of how to veto column size events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
96e5ef7631
commit
1192dbd450
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user