]> git.sesse.net Git - vlc/commitdiff
* modules/gui/wxwindows/open.cpp: small cosmetic change.
authorGildas Bazin <gbazin@videolan.org>
Fri, 22 Oct 2004 13:33:31 +0000 (13:33 +0000)
committerGildas Bazin <gbazin@videolan.org>
Fri, 22 Oct 2004 13:33:31 +0000 (13:33 +0000)
modules/gui/wxwindows/open.cpp

index e9fd3cf7b91303dc340590ad47400b62bfbd6e39..4f9b7e14514ae7133e76522485a074ef32dc82a5 100644 (file)
@@ -221,9 +221,6 @@ AutoBuiltPanel::AutoBuiltPanel( wxWindow *parent, OpenDialog *dialog,
 
     if( b_advanced )
     {
-        wxPanel *dummy_panel = new wxPanel( this, -1 );
-        sizer->Add( dummy_panel, 1 );
-
         wxButton *button =
             new wxButton( this, AdvancedOptions_Event,
                           wxU(_("Advanced options...")) );
@@ -279,7 +276,7 @@ AutoBuiltPanel::AutoBuiltPanel( wxWindow *parent, OpenDialog *dialog,
         while( p_item->i_type != CONFIG_HINT_END && p_item++ );
 
         /* Separation */
-        dummy_panel = new wxPanel( p_advanced_dialog, -1 );
+        wxPanel *dummy_panel = new wxPanel( p_advanced_dialog, -1 );
         sizer->Add( dummy_panel, 1 );
         wxStaticLine *static_line =
             new wxStaticLine( p_advanced_dialog, wxID_OK );