Removed som unnecessary sh-bangs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
#!/bin/env python
|
||||
#----------------------------------------------------------------------------
|
||||
# Name: ErrorDialogs.py
|
||||
# Version: 1.0
|
||||
|
@@ -1,4 +1,3 @@
|
||||
#!/usr/env python
|
||||
#-----------------------------------------------------------------------------
|
||||
# Python source generated by wxDesigner from file: ErrorDialogs.wdr
|
||||
# Do not modify this file, all changes will be lost!
|
||||
@@ -36,15 +35,15 @@ wxPyError_ID_TEXT12 = 10020
|
||||
|
||||
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 )
|
||||
@@ -58,7 +57,7 @@ def populate_wxNonFatalErrorDialogWithTraceback( parent, call_fit = true, set_si
|
||||
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 )
|
||||
@@ -85,8 +84,8 @@ def populate_wxNonFatalErrorDialogWithTraceback( parent, call_fit = true, set_si
|
||||
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 )
|
||||
@@ -108,18 +107,18 @@ def populate_wxNonFatalErrorDialogWithTraceback( parent, call_fit = true, set_si
|
||||
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 )
|
||||
@@ -163,7 +162,7 @@ def populate_wxNonFatalErrorDialogWithTraceback( parent, call_fit = true, set_si
|
||||
if call_fit == true:
|
||||
item0.Fit( parent )
|
||||
item0.SetSizeHints( parent )
|
||||
|
||||
|
||||
return item0
|
||||
|
||||
wxPyError_ID_EXCEPTIONNAME = 10022
|
||||
@@ -173,17 +172,17 @@ wxPyError_ID_TEXT14 = 10025
|
||||
|
||||
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 )
|
||||
@@ -197,7 +196,7 @@ def populate_wxNonFatalErrorDialog( parent, call_fit = true, set_sizer = true ):
|
||||
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 )
|
||||
@@ -226,8 +225,8 @@ def populate_wxNonFatalErrorDialog( parent, call_fit = true, set_sizer = true ):
|
||||
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 )
|
||||
@@ -236,7 +235,7 @@ def populate_wxNonFatalErrorDialog( parent, call_fit = true, set_sizer = true ):
|
||||
|
||||
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.") )
|
||||
@@ -245,7 +244,7 @@ def populate_wxNonFatalErrorDialog( parent, call_fit = true, set_sizer = true ):
|
||||
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 )
|
||||
@@ -267,18 +266,18 @@ def populate_wxNonFatalErrorDialog( parent, call_fit = true, set_sizer = true ):
|
||||
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 )
|
||||
@@ -322,21 +321,21 @@ def populate_wxNonFatalErrorDialog( parent, call_fit = true, set_sizer = true ):
|
||||
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 )
|
||||
@@ -350,7 +349,7 @@ def populate_wxFatalErrorDialogWithTraceback( parent, call_fit = true, set_sizer
|
||||
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 )
|
||||
@@ -377,8 +376,8 @@ def populate_wxFatalErrorDialogWithTraceback( parent, call_fit = true, set_sizer
|
||||
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 )
|
||||
@@ -400,14 +399,14 @@ def populate_wxFatalErrorDialogWithTraceback( parent, call_fit = true, set_sizer
|
||||
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 )
|
||||
@@ -445,21 +444,21 @@ def populate_wxFatalErrorDialogWithTraceback( parent, call_fit = true, set_sizer
|
||||
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 )
|
||||
@@ -473,7 +472,7 @@ def populate_wxFatalErrorDialog( parent, call_fit = true, set_sizer = true ):
|
||||
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 )
|
||||
@@ -500,8 +499,8 @@ def populate_wxFatalErrorDialog( parent, call_fit = true, set_sizer = true ):
|
||||
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 )
|
||||
@@ -510,7 +509,7 @@ def populate_wxFatalErrorDialog( parent, call_fit = true, set_sizer = true ):
|
||||
|
||||
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.") )
|
||||
@@ -519,7 +518,7 @@ def populate_wxFatalErrorDialog( parent, call_fit = true, set_sizer = true ):
|
||||
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 )
|
||||
@@ -541,14 +540,14 @@ def populate_wxFatalErrorDialog( parent, call_fit = true, set_sizer = true ):
|
||||
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 )
|
||||
@@ -586,7 +585,7 @@ def populate_wxFatalErrorDialog( parent, call_fit = true, set_sizer = true ):
|
||||
if call_fit == true:
|
||||
item0.Fit( parent )
|
||||
item0.SetSizeHints( parent )
|
||||
|
||||
|
||||
return item0
|
||||
|
||||
# End of generated file
|
||||
|
Reference in New Issue
Block a user