-#!/usr/env python
#-----------------------------------------------------------------------------
# Python source generated by wxDesigner from file: ErrorDialogs.wdr
# Do not modify this file, all changes will be lost!
def populate_wxNonFatalErrorDialogWithTraceback( parent, call_fit = true, set_sizer = true ):
item0 = wxBoxSizer( wxVERTICAL )
-
+
item1 = wxBoxSizer( wxHORIZONTAL )
-
+
item3 = wxStaticBox( parent, -1, "Non-fatal" )
item3.SetFont( wxFont( 9, wxSWISS, wxNORMAL, wxBOLD ) )
item2 = wxStaticBoxSizer( item3, wxVERTICAL )
-
+
item4 = wxBoxSizer( wxHORIZONTAL )
-
+
item5 = wxStaticText( parent, wxPyError_ID_TEXT1, "Error in ", wxDefaultPosition, wxDefaultSize, wxALIGN_CENTRE )
item5.SetForegroundColour( wxWHITE )
item5.SetBackgroundColour( wxRED )
item2.AddSizer( item4, 0, wxADJUST_MINSIZE|wxALIGN_CENTRE|wxALL, 5 )
item7 = wxBoxSizer( wxHORIZONTAL )
-
+
item8 = wxStaticText( parent, wxPyError_ID_TEXT2, "Version ", wxDefaultPosition, wxDefaultSize, 0 )
item8.SetFont( wxFont( 9, wxROMAN, wxNORMAL, wxNORMAL ) )
item7.AddWindow( item8, 0, wxADJUST_MINSIZE|wxALIGN_CENTRE|wxALL, 5 )
item14 = wxStaticBox( parent, -1, "Traceback" )
item14.SetFont( wxFont( 6, wxSWISS, wxITALIC, wxNORMAL ) )
parent.sizerAroundText = item13 = wxStaticBoxSizer( item14, wxVERTICAL )
-
- item15 = wxStaticText( parent, wxPyError_ID_TEXT4,
+
+ item15 = wxStaticText( parent, wxPyError_ID_TEXT4,
"Please don't worry if this doesn't mean anything to you.\n"
"It will be included in the \"bug report\" mentioned below.",
wxDefaultPosition, wxDefaultSize, 0 )
item18.AddGrowableCol( 0 )
item18.AddGrowableCol( 1 )
item18.AddGrowableCol( 2 )
-
+
item19 = wxButton( parent, wxPyError_ID_CONTINUE, "Continue", wxDefaultPosition, wxDefaultSize, 0 )
item19.SetDefault()
item18.AddWindow( item19, 0, wxADJUST_MINSIZE|wxALIGN_CENTRE|wxALL, 5 )
item20 = wxBoxSizer( wxHORIZONTAL )
-
+
item21 = wxButton( parent, wxPyError_ID_MAIL, "E-mail support", wxDefaultPosition, wxDefaultSize, 0 )
item20.AddWindow( item21, 0, wxADJUST_MINSIZE|wxALIGN_CENTRE|wxALL, 5 )
item22 = wxBoxSizer( wxVERTICAL )
-
+
item23 = wxStaticText( parent, wxPyError_ID_TEXT6, "Your e-mail address:", wxDefaultPosition, wxDefaultSize, 0 )
item23.SetFont( wxFont( 8, wxROMAN, wxITALIC, wxNORMAL ) )
item22.AddWindow( item23, 0, wxADJUST_MINSIZE|wxALIGN_CENTRE|wxALL, 5 )
if call_fit == true:
item0.Fit( parent )
item0.SetSizeHints( parent )
-
+
return item0
wxPyError_ID_EXCEPTIONNAME = 10022
def populate_wxNonFatalErrorDialog( parent, call_fit = true, set_sizer = true ):
item0 = wxBoxSizer( wxVERTICAL )
-
+
item1 = wxBoxSizer( wxHORIZONTAL )
-
+
item2 = wxBoxSizer( wxHORIZONTAL )
-
+
item4 = wxStaticBox( parent, -1, "Non-fatal" )
item4.SetFont( wxFont( 9, wxSWISS, wxNORMAL, wxBOLD ) )
item3 = wxStaticBoxSizer( item4, wxVERTICAL )
-
+
item5 = wxBoxSizer( wxHORIZONTAL )
-
+
item6 = wxStaticText( parent, wxPyError_ID_TEXT1, "Error in ", wxDefaultPosition, wxDefaultSize, wxALIGN_CENTRE )
item6.SetForegroundColour( wxWHITE )
item6.SetBackgroundColour( wxRED )
item3.AddSizer( item5, 0, wxADJUST_MINSIZE|wxALIGN_CENTRE|wxALL, 5 )
item8 = wxBoxSizer( wxHORIZONTAL )
-
+
item9 = wxStaticText( parent, wxPyError_ID_TEXT2, "Version ", wxDefaultPosition, wxDefaultSize, wxALIGN_CENTRE )
item9.SetFont( wxFont( 9, wxROMAN, wxNORMAL, wxNORMAL ) )
item8.AddWindow( item9, 0, wxADJUST_MINSIZE|wxALIGN_CENTRE|wxALL, 5 )
item15 = wxStaticBox( parent, -1, "Exception information" )
item15.SetFont( wxFont( 6, wxSWISS, wxITALIC, wxNORMAL ) )
item14 = wxStaticBoxSizer( item15, wxVERTICAL )
-
- item16 = wxStaticText( parent, wxPyError_ID_TEXT4,
+
+ item16 = wxStaticText( parent, wxPyError_ID_TEXT4,
"Please don't worry if this doesn't mean anything to you.\n"
"It will be included in the \"bug report\" mentioned below, along with a \"stack traceback\".",
wxDefaultPosition, wxDefaultSize, wxALIGN_CENTRE )
item17 = wxFlexGridSizer( 2, 0, 1, 1 )
item17.AddGrowableCol( 1 )
-
+
item18 = wxStaticText( parent, wxPyError_ID_TEXT5, "Name:", wxDefaultPosition, wxDefaultSize, wxALIGN_RIGHT )
item18.SetFont( wxFont( 10, wxROMAN, wxITALIC, wxNORMAL ) )
item18.SetToolTip( wxToolTip("This gives the type of the error.") )
item19 = wxStaticText( parent, wxPyError_ID_EXCEPTIONNAME, "text", wxDefaultPosition, wxDefaultSize, 0 )
item17.AddWindow( item19, 0, wxADJUST_MINSIZE|wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5 )
- item20 = wxStaticText( parent, wxPyError_ID_TEXT6,
+ item20 = wxStaticText( parent, wxPyError_ID_TEXT6,
"Extra\n"
"information:",
wxDefaultPosition, wxDefaultSize, wxALIGN_CENTRE )
item23.AddGrowableCol( 0 )
item23.AddGrowableCol( 1 )
item23.AddGrowableCol( 2 )
-
+
item24 = wxButton( parent, wxPyError_ID_CONTINUE, "Continue", wxDefaultPosition, wxDefaultSize, 0 )
item24.SetDefault()
item23.AddWindow( item24, 0, wxADJUST_MINSIZE|wxALIGN_CENTRE|wxALL, 5 )
item25 = wxBoxSizer( wxHORIZONTAL )
-
+
item26 = wxButton( parent, wxPyError_ID_MAIL, "E-mail support", wxDefaultPosition, wxDefaultSize, 0 )
item25.AddWindow( item26, 0, wxADJUST_MINSIZE|wxALIGN_CENTRE|wxALL, 5 )
item27 = wxBoxSizer( wxVERTICAL )
-
+
item28 = wxStaticText( parent, wxPyError_ID_TEXT8, "Your e-mail address:", wxDefaultPosition, wxDefaultSize, 0 )
item28.SetFont( wxFont( 8, wxROMAN, wxITALIC, wxNORMAL ) )
item27.AddWindow( item28, 0, wxADJUST_MINSIZE|wxALIGN_CENTRE|wxALL, 5 )
if call_fit == true:
item0.Fit( parent )
item0.SetSizeHints( parent )
-
+
return item0
def populate_wxFatalErrorDialogWithTraceback( parent, call_fit = true, set_sizer = true ):
item0 = wxBoxSizer( wxVERTICAL )
-
+
item1 = wxBoxSizer( wxHORIZONTAL )
-
+
item3 = wxStaticBox( parent, -1, "Fatal" )
item3.SetFont( wxFont( 9, wxSWISS, wxNORMAL, wxBOLD ) )
item2 = wxStaticBoxSizer( item3, wxVERTICAL )
-
+
item4 = wxBoxSizer( wxHORIZONTAL )
-
+
item5 = wxStaticText( parent, wxPyError_ID_TEXT1, "Error in ", wxDefaultPosition, wxDefaultSize, wxALIGN_CENTRE )
item5.SetForegroundColour( wxWHITE )
item5.SetBackgroundColour( wxRED )
item2.AddSizer( item4, 1, wxADJUST_MINSIZE|wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5 )
item7 = wxBoxSizer( wxHORIZONTAL )
-
+
item8 = wxStaticText( parent, wxPyError_ID_TEXT2, "Version ", wxDefaultPosition, wxDefaultSize, wxALIGN_CENTRE )
item8.SetFont( wxFont( 9, wxROMAN, wxNORMAL, wxNORMAL ) )
item7.AddWindow( item8, 0, wxADJUST_MINSIZE|wxALIGN_CENTRE|wxALL, 5 )
item14 = wxStaticBox( parent, -1, "Traceback" )
item14.SetFont( wxFont( 6, wxSWISS, wxITALIC, wxNORMAL ) )
parent.sizerAroundText = item13 = wxStaticBoxSizer( item14, wxVERTICAL )
-
- item15 = wxStaticText( parent, wxPyError_ID_TEXT4,
+
+ item15 = wxStaticText( parent, wxPyError_ID_TEXT4,
"Please don't worry if this doesn't mean anything to you.\n"
"It will be included in the \"bug report\" mentioned below.",
wxDefaultPosition, wxDefaultSize, 0 )
item18.AddGrowableCol( 0 )
item18.AddGrowableCol( 1 )
item18.AddGrowableCol( 2 )
-
+
item19 = wxBoxSizer( wxHORIZONTAL )
-
+
item20 = wxButton( parent, wxPyError_ID_MAIL, "E-mail support", wxDefaultPosition, wxDefaultSize, 0 )
item19.AddWindow( item20, 0, wxADJUST_MINSIZE|wxALIGN_CENTRE|wxALL, 5 )
item21 = wxBoxSizer( wxVERTICAL )
-
+
item22 = wxStaticText( parent, wxPyError_ID_TEXT6, "Your e-mail address:", wxDefaultPosition, wxDefaultSize, 0 )
item22.SetFont( wxFont( 8, wxROMAN, wxITALIC, wxNORMAL ) )
item21.AddWindow( item22, 0, wxADJUST_MINSIZE|wxALIGN_CENTRE|wxALL, 5 )
if call_fit == true:
item0.Fit( parent )
item0.SetSizeHints( parent )
-
+
return item0
def populate_wxFatalErrorDialog( parent, call_fit = true, set_sizer = true ):
item0 = wxBoxSizer( wxVERTICAL )
-
+
item1 = wxBoxSizer( wxHORIZONTAL )
-
+
item3 = wxStaticBox( parent, -1, "Fatal" )
item3.SetFont( wxFont( 9, wxSWISS, wxNORMAL, wxBOLD ) )
item2 = wxStaticBoxSizer( item3, wxVERTICAL )
-
+
item4 = wxBoxSizer( wxHORIZONTAL )
-
+
item5 = wxStaticText( parent, wxPyError_ID_TEXT1, "Error in ", wxDefaultPosition, wxDefaultSize, wxALIGN_CENTRE )
item5.SetForegroundColour( wxWHITE )
item5.SetBackgroundColour( wxRED )
item2.AddSizer( item4, 1, wxADJUST_MINSIZE|wxALIGN_CENTRE|wxALL, 5 )
item7 = wxBoxSizer( wxHORIZONTAL )
-
+
item8 = wxStaticText( parent, wxPyError_ID_TEXT2, "Version ", wxDefaultPosition, wxDefaultSize, wxALIGN_CENTRE )
item8.SetFont( wxFont( 9, wxROMAN, wxNORMAL, wxNORMAL ) )
item7.AddWindow( item8, 0, wxADJUST_MINSIZE|wxALIGN_CENTRE|wxALL, 5 )
item14 = wxStaticBox( parent, -1, "Exception information" )
item14.SetFont( wxFont( 6, wxSWISS, wxITALIC, wxNORMAL ) )
item13 = wxStaticBoxSizer( item14, wxVERTICAL )
-
- item15 = wxStaticText( parent, wxPyError_ID_TEXT4,
+
+ item15 = wxStaticText( parent, wxPyError_ID_TEXT4,
"Please don't worry if this doesn't mean anything to you.\n"
"It will be included in the \"bug report\" mentioned below, along with a \"stack traceback\".",
wxDefaultPosition, wxDefaultSize, wxALIGN_CENTRE )
item16 = wxFlexGridSizer( 2, 0, 1, 1 )
item16.AddGrowableCol( 1 )
-
+
item17 = wxStaticText( parent, wxPyError_ID_TEXT5, "Name:", wxDefaultPosition, wxDefaultSize, wxALIGN_RIGHT )
item17.SetFont( wxFont( 10, wxROMAN, wxITALIC, wxNORMAL ) )
item17.SetToolTip( wxToolTip("This gives the type of the error.") )
item18 = wxStaticText( parent, wxPyError_ID_EXCEPTIONNAME, "text", wxDefaultPosition, wxDefaultSize, 0 )
item16.AddWindow( item18, 0, wxADJUST_MINSIZE|wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5 )
- item19 = wxStaticText( parent, wxPyError_ID_TEXT6,
+ item19 = wxStaticText( parent, wxPyError_ID_TEXT6,
"Extra\n"
"information:",
wxDefaultPosition, wxDefaultSize, wxALIGN_CENTRE )
item22.AddGrowableCol( 0 )
item22.AddGrowableCol( 1 )
item22.AddGrowableCol( 2 )
-
+
item23 = wxBoxSizer( wxHORIZONTAL )
-
+
item24 = wxButton( parent, wxPyError_ID_MAIL, "E-mail support", wxDefaultPosition, wxDefaultSize, 0 )
item23.AddWindow( item24, 0, wxADJUST_MINSIZE|wxALIGN_CENTRE|wxALL, 5 )
item25 = wxBoxSizer( wxVERTICAL )
-
+
item26 = wxStaticText( parent, wxPyError_ID_TEXT8, "Your e-mail address:", wxDefaultPosition, wxDefaultSize, 0 )
item26.SetFont( wxFont( 8, wxROMAN, wxITALIC, wxNORMAL ) )
item25.AddWindow( item26, 0, wxADJUST_MINSIZE|wxALIGN_CENTRE|wxALL, 5 )
if call_fit == true:
item0.Fit( parent )
item0.SetSizeHints( parent )
-
+
return item0
# End of generated file