X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b37c7e1dcdad16c20d9800d2abaf53cc6b653a64..71aba8333cc915afff9e740c944f7fa7247abacb:/wxPython/demo/mimetypes_wdr.py diff --git a/wxPython/demo/mimetypes_wdr.py b/wxPython/demo/mimetypes_wdr.py index c31696323f..2c3b0a5f01 100644 --- a/wxPython/demo/mimetypes_wdr.py +++ b/wxPython/demo/mimetypes_wdr.py @@ -1,4 +1,3 @@ -#!/usr/env python #----------------------------------------------------------------------------- # Python source generated by wxDesigner from file: mimetypes.wdr # Do not modify this file, all changes will be lost! @@ -29,9 +28,9 @@ ID_LISTBOX = 10016 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 ) @@ -52,11 +51,11 @@ def MakeMimeTypesTestPanel( parent, call_fit = true, set_sizer = true ): 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 ) @@ -67,7 +66,7 @@ def MakeMimeTypesTestPanel( parent, call_fit = true, set_sizer = true ): 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 ) @@ -124,7 +123,7 @@ def MakeMimeTypesTestPanel( parent, call_fit = true, set_sizer = true ): 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 ) @@ -141,7 +140,7 @@ def MakeMimeTypesTestPanel( parent, call_fit = true, set_sizer = true ): if call_fit == true: item0.Fit( parent ) item0.SetSizeHints( parent ) - + return item0 # Menu bar functions