- parens_check = wxCheckBox(self, -1, "Use () to indicate negatives in above controls")
-
-
-
- gridCombos = wxFlexGridSizer( 0, 4, vgap=10, hgap = 10 )
- gridCombos.Add( label_statecode, 0, wxALIGN_LEFT )
- gridCombos.Add( statecode, 0, wxALIGN_LEFT )
- gridCombos.Add( label_fraction, 0, wxALIGN_LEFT )
- gridCombos.Add( fraction, 0, wxALIGN_LEFT )
- gridCombos.Add( label_statename, 0, wxALIGN_LEFT )
- gridCombos.Add( statename, 0, wxALIGN_LEFT )
- gridCombos.Add( label_code, 0, wxALIGN_LEFT )
- gridCombos.Add( code, 0, wxALIGN_LEFT )
- gridCombos.Add( label_selector, 0, wxALIGN_LEFT)
- hbox = wxBoxSizer( wxHORIZONTAL )
- hbox.Add( self.list_selector, 0, wxALIGN_LEFT )
- hbox.Add(wxStaticText(self, -1, ' => '), 0, wxALIGN_LEFT)
- hbox.Add( self.dynamicbox, 0, wxALIGN_LEFT )
- gridCombos.Add( hbox, 0, wxALIGN_LEFT )
-
- gridIpAddrs = wxFlexGridSizer( 0, 4, vgap=10, hgap = 15 )
- gridIpAddrs.Add( label_ipaddr1, 0, wxALIGN_LEFT )
- gridIpAddrs.Add( ipaddr1, 0, wxALIGN_LEFT )
- gridIpAddrs.Add( label_ipaddr2, 0, wxALIGN_LEFT )
- gridIpAddrs.Add( ipaddr2, 0, wxALIGN_LEFT )
- gridIpAddrs.Add( label_ipaddr3, 0, wxALIGN_LEFT )
- gridIpAddrs.Add( ipaddr3, 0, wxALIGN_LEFT )
-
- gridNumerics = wxFlexGridSizer( 0, 4, vgap=10, hgap = 10 )
- gridNumerics.Add( label_intctrl1, 0, wxALIGN_LEFT )
- gridNumerics.Add( self.intctrl1, 0, wxALIGN_LEFT )
- gridNumerics.Add( label_intctrl2, 0, wxALIGN_RIGHT )
- gridNumerics.Add( self.intctrl2, 0, wxALIGN_LEFT )
- gridNumerics.Add( label_floatctrl, 0, wxALIGN_LEFT )
- gridNumerics.Add( self.floatctrl, 0, wxALIGN_LEFT )
- gridNumerics.Add( label_numselect, 0, wxALIGN_RIGHT )
- gridNumerics.Add( numselect, 0, wxALIGN_LEFT )
-
- self.sizer.Add( labelMaskedCombos, 0, wxALIGN_LEFT|wxALL, 5 )
- self.sizer.Add( gridCombos, 0, wxALIGN_LEFT|wxALL, border=5 )
- self.sizer.Add( wxStaticLine(self, -1), 0, wxEXPAND|wxTOP|wxBOTTOM, border=8 )
- self.sizer.Add( labelIpAddrs, 0, wxALIGN_LEFT|wxALL, 5 )
- self.sizer.Add( gridIpAddrs, 0, wxALIGN_LEFT|wxALL, border=5 )
- self.sizer.Add( wxStaticLine(self, -1), 0, wxEXPAND|wxTOP|wxBOTTOM, border=8 )
- self.sizer.Add( labelNumerics, 0, wxALIGN_LEFT|wxALL, 5 )
- self.sizer.Add( gridNumerics, 0, wxALIGN_LEFT|wxALL, border=5 )
- self.sizer.Add( parens_check, 0, wxALIGN_LEFT|wxALL, 5 )
+ parens_check = wx.CheckBox(self, -1, "Use () to indicate negatives in above controls")
+
+
+
+ gridCombos = wx.FlexGridSizer( 0, 4, vgap=10, hgap = 10 )
+ gridCombos.Add( label_statecode, 0, wx.ALIGN_LEFT )
+ gridCombos.Add( statecode, 0, wx.ALIGN_LEFT )
+ gridCombos.Add( label_fraction, 0, wx.ALIGN_LEFT )
+ gridCombos.Add( fraction, 0, wx.ALIGN_LEFT )
+ gridCombos.Add( label_statename, 0, wx.ALIGN_LEFT )
+ gridCombos.Add( statename, 0, wx.ALIGN_LEFT )
+ gridCombos.Add( label_code, 0, wx.ALIGN_LEFT )
+ gridCombos.Add( code, 0, wx.ALIGN_LEFT )
+ gridCombos.Add( label_selector, 0, wx.ALIGN_LEFT)
+ hbox = wx.BoxSizer( wx.HORIZONTAL )
+ hbox.Add( self.list_selector, 0, wx.ALIGN_LEFT )
+ hbox.Add(wx.StaticText(self, -1, ' => '), 0, wx.ALIGN_LEFT)
+ hbox.Add( self.dynamicbox, 0, wx.ALIGN_LEFT )
+ gridCombos.Add( hbox, 0, wx.ALIGN_LEFT )
+
+ gridIpAddrs = wx.FlexGridSizer( 0, 4, vgap=10, hgap = 15 )
+ gridIpAddrs.Add( label_ipaddr1, 0, wx.ALIGN_LEFT )
+ gridIpAddrs.Add( ipaddr1, 0, wx.ALIGN_LEFT )
+ gridIpAddrs.Add( label_ipaddr2, 0, wx.ALIGN_LEFT )
+ gridIpAddrs.Add( ipaddr2, 0, wx.ALIGN_LEFT )
+ gridIpAddrs.Add( label_ipaddr3, 0, wx.ALIGN_LEFT )
+ gridIpAddrs.Add( ipaddr3, 0, wx.ALIGN_LEFT )
+
+ gridNumerics = wx.FlexGridSizer( 0, 4, vgap=10, hgap = 10 )
+ gridNumerics.Add( label_intctrl1, 0, wx.ALIGN_LEFT )
+ gridNumerics.Add( self.intctrl1, 0, wx.ALIGN_LEFT )
+ gridNumerics.Add( label_intctrl2, 0, wx.ALIGN_RIGHT )
+ gridNumerics.Add( self.intctrl2, 0, wx.ALIGN_LEFT )
+ gridNumerics.Add( label_floatctrl, 0, wx.ALIGN_LEFT )
+ gridNumerics.Add( self.floatctrl, 0, wx.ALIGN_LEFT )
+ gridNumerics.Add( label_numselect, 0, wx.ALIGN_RIGHT )
+ gridNumerics.Add( numselect, 0, wx.ALIGN_LEFT )
+
+ self.sizer.Add( labelMaskedCombos, 0, wx.ALIGN_LEFT|wx.ALL, 5 )
+ self.sizer.Add( gridCombos, 0, wx.ALIGN_LEFT|wx.ALL, border=5 )
+ self.sizer.Add( wx.StaticLine(self, -1), 0, wx.EXPAND|wx.TOP|wx.BOTTOM, border=8 )
+ self.sizer.Add( labelIpAddrs, 0, wx.ALIGN_LEFT|wx.ALL, 5 )
+ self.sizer.Add( gridIpAddrs, 0, wx.ALIGN_LEFT|wx.ALL, border=5 )
+ self.sizer.Add( wx.StaticLine(self, -1), 0, wx.EXPAND|wx.TOP|wx.BOTTOM, border=8 )
+ self.sizer.Add( labelNumerics, 0, wx.ALIGN_LEFT|wx.ALL, 5 )
+ self.sizer.Add( gridNumerics, 0, wx.ALIGN_LEFT|wx.ALL, border=5 )
+ self.sizer.Add( parens_check, 0, wx.ALIGN_LEFT|wx.ALL, 5 )