From 0539ad924a662d54c5afee31d0740444e11a7513 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 5 Mar 2003 23:17:44 +0000 Subject: [PATCH] demo tweaks git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/demo/GridSimple.py | 4 ++++ wxPython/demo/wxImage.py | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/wxPython/demo/GridSimple.py b/wxPython/demo/GridSimple.py index 645af947eb..89c2ec6e07 100644 --- a/wxPython/demo/GridSimple.py +++ b/wxPython/demo/GridSimple.py @@ -53,6 +53,10 @@ class SimpleGrid(wxGrid): ##, wxGridAutoEditMixin): self.SetColLabelAlignment(wxALIGN_LEFT, wxALIGN_BOTTOM) + #self.SetDefaultCellOverflow(False) + #r = wxGridCellAutoWrapStringRenderer() + #self.SetCellRenderer(9, 1, r) + # overflow cells 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); diff --git a/wxPython/demo/wxImage.py b/wxPython/demo/wxImage.py index 6a15003e85..23d3ee7eee 100644 --- a/wxPython/demo/wxImage.py +++ b/wxPython/demo/wxImage.py @@ -39,3 +39,11 @@ def runTest(frame, nb, log): overview = """\ """ + + + +if __name__ == '__main__': + import sys,os + import run + run.main(['', os.path.basename(sys.argv[0])]) +