projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
96e5ef7
)
added sample (currently commented out) of how to veto column size events
author
Robin Dunn
<robin@alldunn.com>
Thu, 7 Feb 2002 01:04:53 +0000
(
01:04
+0000)
committer
Robin Dunn
<robin@alldunn.com>
Thu, 7 Feb 2002 01:04:53 +0000
(
01:04
+0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14040
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
wxPython/demo/wxListCtrl.py
patch
|
blob
|
blame
|
history
diff --git
a/wxPython/demo/wxListCtrl.py
b/wxPython/demo/wxListCtrl.py
index 41645a29c3a5a7b328d87255fb978e6c550a3bdb..b861392e54e0523d7948d5e98f543fbc00d7ae98 100644
(file)
--- 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")