Demo Tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
*.pyc
|
*.pyc
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
._demo.py
|
||||||
.emacs.desktop
|
.emacs.desktop
|
||||||
|
.gdb_history
|
||||||
.setup.sh
|
.setup.sh
|
||||||
b.bat
|
b.bat
|
||||||
hangman_dict.txt
|
hangman_dict.txt
|
||||||
|
@@ -11,11 +11,11 @@ class TestPanel( wxPanel ):
|
|||||||
panel = wxPanel( self, -1 )
|
panel = wxPanel( self, -1 )
|
||||||
|
|
||||||
self.set_min = wxCheckBox( panel, -1, "Set minimum value:" )
|
self.set_min = wxCheckBox( panel, -1, "Set minimum value:" )
|
||||||
self.min = wxIntCtrl( panel, size=wxSize( 50, 20 ) )
|
self.min = wxIntCtrl( panel, size=wxSize( 50, -1 ) )
|
||||||
self.min.Enable( FALSE )
|
self.min.Enable( FALSE )
|
||||||
|
|
||||||
self.set_max = wxCheckBox( panel, -1, "Set maximum value:" )
|
self.set_max = wxCheckBox( panel, -1, "Set maximum value:" )
|
||||||
self.max = wxIntCtrl( panel, size=wxSize( 50, 20 ) )
|
self.max = wxIntCtrl( panel, size=wxSize( 50, -1 ) )
|
||||||
self.max.Enable( FALSE )
|
self.max.Enable( FALSE )
|
||||||
|
|
||||||
self.limit_target = wxCheckBox( panel, -1, "Limit control" )
|
self.limit_target = wxCheckBox( panel, -1, "Limit control" )
|
||||||
|
@@ -203,10 +203,6 @@ class TestValidateDialog(wxDialog):
|
|||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
|
|
||||||
def runTest(frame, nb, log):
|
def runTest(frame, nb, log):
|
||||||
if wxPlatform == "__WXMAC__":
|
|
||||||
wxMessageBox("This demo currently fails on the Mac. The problem is being looked into...", "Sorry")
|
|
||||||
return
|
|
||||||
|
|
||||||
win = TestValidatorPanel(nb)
|
win = TestValidatorPanel(nb)
|
||||||
return win
|
return win
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user