-#!/usr/env python
#-----------------------------------------------------------------------------
# Python source generated by wxDesigner from file: mimetypes.wdr
# Do not modify this file, all changes will be lost!
def MakeMimeTypesTestPanel( parent, call_fit = true, set_sizer = true ):
item0 = wxBoxSizer( wxVERTICAL )
-
+
item1 = wxBoxSizer( wxHORIZONTAL )
-
+
item2 = wxTextCtrl( parent, ID_INPUT_TEXT, "", wxDefaultPosition, wxSize(100,-1), 0 )
item1.AddWindow( item2, 0, wxALIGN_CENTRE|wxALL, 5 )
item0.AddWindow( item6, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5 )
item7 = wxBoxSizer( wxHORIZONTAL )
-
+
item8 = wxFlexGridSizer( 0, 2, 0, 0 )
item8.AddGrowableCol( 1 )
item8.AddGrowableRow( 8 )
-
+
item9 = wxStaticText( parent, ID_TEXT, "wxFileType:", wxDefaultPosition, wxDefaultSize, 0 )
item9.SetFont( wxFont( 14, wxSWISS, wxNORMAL, wxBOLD ) )
item8.AddWindow( item9, 0, wxALL, 5 )
item8.AddWindow( item10, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5 )
item11 = wxBoxSizer( wxHORIZONTAL )
-
+
item12 = wxStaticBitmap( parent, ID_ICON_BMP, MyBitmapsFunc( 0 ), wxDefaultPosition, wxDefaultSize )
item11.AddWindow( item12, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 )
item7.AddSizer( item8, 1, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5 )
item29 = wxBoxSizer( wxVERTICAL )
-
+
item30 = wxStaticText( parent, ID_TEXT, "Known mime types:", wxDefaultPosition, wxDefaultSize, 0 )
item29.AddWindow( item30, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxTOP|wxBOTTOM, 5 )
if call_fit == true:
item0.Fit( parent )
item0.SetSizeHints( parent )
-
+
return item0
# Menu bar functions