wx.StaticBox and siblings creation order, and other fixes from Kevin Ollivier

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-04-25 00:39:05 +00:00
parent 07ec2506d5
commit 0c8f286073
6 changed files with 35 additions and 34 deletions

View File

@@ -16,7 +16,9 @@ class TestPanel( scrolled.ScrolledPanel ):
scrolled.ScrolledPanel.__init__( self, parent, -1 )
self.log = log
box_label = wx.StaticBox( self, -1, "Change Controls through API" )
buttonbox = wx.StaticBoxSizer( box_label, wx.HORIZONTAL )
text1 = wx.StaticText( self, -1, "12-hour format:")
self.time12 = masked.TimeCtrl( self, -1, name="12 hour control" )
spin1 = wx.SpinButton( self, -1, wx.DefaultPosition, (-1,20), 0 )
@@ -70,9 +72,7 @@ class TestPanel( scrolled.ScrolledPanel ):
radio_vbox.Add( self.radio24to12, 0, wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5 )
radio_vbox.Add( self.radioWx, 0, wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5 )
radio_vbox.Add( self.radioMx, 0, wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5 )
box_label = wx.StaticBox( self, -1, "Change Controls through API" )
buttonbox = wx.StaticBoxSizer( box_label, wx.HORIZONTAL )
buttonbox.Add( buttonChange, 0, wx.ALIGN_CENTRE|wx.ALL, 5 )
buttonbox.Add( radio_vbox, 0, wx.ALIGN_CENTRE|wx.ALL, 5 )