From 109332f2516972455246a9ed98a2e5de9c894b40 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Fri, 26 Nov 2004 13:20:13 +0000 Subject: [PATCH] Merged 2517 from the 1.0 branch. --- src/mmg/mux_dialog.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/mmg/mux_dialog.cpp b/src/mmg/mux_dialog.cpp index e019ce52c..a6a58c2fb 100644 --- a/src/mmg/mux_dialog.cpp +++ b/src/mmg/mux_dialog.cpp @@ -57,7 +57,7 @@ mux_dialog::mux_dialog(wxWindow *parent): wxFile *opt_file; uint32_t i; wxArrayString *arg_list; - wxBoxSizer *siz_all, *siz_buttons, *siz_progress; + wxBoxSizer *siz_all, *siz_buttons; wxStaticBoxSizer *siz_status, *siz_output; c = 0; @@ -67,11 +67,7 @@ mux_dialog::mux_dialog(wxWindow *parent): st_label = new wxStaticText(this, -1, wxT("")); siz_status->Add(st_label, 0, wxGROW | wxALIGN_LEFT | wxALL, 5); g_progress = new wxGauge(this, -1, 100, wxDefaultPosition, wxSize(250, 15)); - siz_progress = new wxBoxSizer(wxHORIZONTAL); - siz_progress->Add(0, 0, 1, wxGROW, 0); - siz_progress->Add(g_progress, 0, wxALL, 5); - siz_progress->Add(0, 0, 1, wxGROW, 0); - siz_status->Add(siz_progress, 0, wxGROW); + siz_status->Add(g_progress, 1, wxALL | wxGROW, 5); siz_output = new wxStaticBoxSizer(new wxStaticBox(this, -1, wxT("Output")),