-#!/usr/env python
#-----------------------------------------------------------------------------
# Python source generated by wxDesigner from file: joystick.wdr
# Do not modify this file, all changes will be lost!
ID_V_Min_Ctrl = 10036
ID_V_Max_Ctrl = 10037
-def MakeJoystickTestPanel( parent, call_fit = true, set_sizer = true ):
+def MakeJoystickTestPanel( parent, call_fit = True, set_sizer = True ):
item0 = wxBoxSizer( wxVERTICAL )
-
+
item1 = wxFlexGridSizer( 0, 8, 0, 0 )
-
+
item2 = wxStaticText( parent, ID_TEXT, "X Position:", wxDefaultPosition, wxDefaultSize, wxALIGN_RIGHT )
item1.AddWindow( item2, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP, 5 )
item0.AddSizer( item1, 0, wxALIGN_CENTER_VERTICAL|wxALL, 15 )
- if set_sizer == true:
- parent.SetAutoLayout( true )
+ if set_sizer == True:
+ parent.SetAutoLayout( True )
parent.SetSizer( item0 )
- if call_fit == true:
+ if call_fit == True:
item0.Fit( parent )
item0.SetSizeHints( parent )
-
+
return item0
# Menu bar functions