]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxListCtrl.py
Fix Cygwin and MinGW compilation
[wxWidgets.git] / wxPython / demo / wxListCtrl.py
index 41645a29c3a5a7b328d87255fb978e6c550a3bdb..b861392e54e0523d7948d5e98f543fbc00d7ae98 100644 (file)
@@ -223,6 +223,10 @@ class TestListCtrlPanel(wxPanel, wxColumnSorterMixin):
 
     def OnColBeginDrag(self, event):
         self.log.WriteText("OnColBeginDrag\n")
 
     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")
 
     def OnColDragging(self, event):
         self.log.WriteText("OnColDragging\n")