demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -53,6 +53,10 @@ class SimpleGrid(wxGrid): ##, wxGridAutoEditMixin):
|
|||||||
|
|
||||||
self.SetColLabelAlignment(wxALIGN_LEFT, wxALIGN_BOTTOM)
|
self.SetColLabelAlignment(wxALIGN_LEFT, wxALIGN_BOTTOM)
|
||||||
|
|
||||||
|
#self.SetDefaultCellOverflow(False)
|
||||||
|
#r = wxGridCellAutoWrapStringRenderer()
|
||||||
|
#self.SetCellRenderer(9, 1, r)
|
||||||
|
|
||||||
# overflow cells
|
# overflow cells
|
||||||
self.SetCellValue( 9, 1, "This default cell will overflow into neighboring cells, but not if you turn overflow off.");
|
self.SetCellValue( 9, 1, "This default cell will overflow into neighboring cells, but not if you turn overflow off.");
|
||||||
self.SetCellSize(11, 1, 3, 3);
|
self.SetCellSize(11, 1, 3, 3);
|
||||||
|
@@ -39,3 +39,11 @@ def runTest(frame, nb, log):
|
|||||||
|
|
||||||
overview = """\
|
overview = """\
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
import sys,os
|
||||||
|
import run
|
||||||
|
run.main(['', os.path.basename(sys.argv[0])])
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user