/[thuban]/branches/WIP-pyshapelib-bramz/Thuban/UI/controls.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Thuban/UI/controls.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1034 by bh, Tue May 6 15:53:13 2003 UTC revision 1035 by jan, Mon May 26 17:03:08 2003 UTC
# Line 11  Line 11 
11  __version__ = "$Revision$"  __version__ = "$Revision$"
12    
13  from wxPython.wx import wxListCtrl, wxLC_REPORT, wxLIST_AUTOSIZE_USEHEADER, \  from wxPython.wx import wxListCtrl, wxLC_REPORT, wxLIST_AUTOSIZE_USEHEADER, \
14       EVT_LIST_ITEM_SELECTED, true, false       EVT_LIST_ITEM_SELECTED
15  from wxPython.grid import wxPyGridTableBase, wxGrid, wxGRID_VALUE_STRING, \  from wxPython.grid import wxPyGridTableBase, wxGrid, wxGRID_VALUE_STRING, \
16       wxGridTableMessage, wxGRIDTABLE_NOTIFY_ROWS_APPENDED, \       wxGridTableMessage, wxGRIDTABLE_NOTIFY_ROWS_APPENDED, \
17       wxGRIDTABLE_NOTIFY_ROWS_DELETED, wxGRIDTABLE_REQUEST_VIEW_GET_VALUES       wxGRIDTABLE_NOTIFY_ROWS_DELETED, wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
# Line 219  class RecordGridCtrl(wxGrid): Line 219  class RecordGridCtrl(wxGrid):
219          # of the table and will destroy it when done. Otherwise you          # of the table and will destroy it when done. Otherwise you
220          # would need to keep a reference to it and call it's Destroy          # would need to keep a reference to it and call it's Destroy
221          # method later.          # method later.
222          self.SetTable(self.table, true)          self.SetTable(self.table, True)
223    
224          #self.SetMargins(0,0)          #self.SetMargins(0,0)
225          self.AutoSizeColumn(0, true)          self.AutoSizeColumn(0, True)
226    
227          #self.SetSelectionMode(wxGrid.wxGridSelectRows)          #self.SetSelectionMode(wxGrid.wxGridSelectRows)
228    

Legend:
Removed from v.1034  
changed lines
  Added in v.1035

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26