From fa59cc4b9892457ca4edd7e8e666905dff9f94fa Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Sun, 26 Oct 2003 17:04:12 +0000 Subject: [PATCH] Adjusted the size of the "Parsing Matroska file..." window on Windows. --- src/mmg/kax_analyzer.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/mmg/kax_analyzer.cpp b/src/mmg/kax_analyzer.cpp index dab98ee7b..9b4c0025f 100644 --- a/src/mmg/kax_analyzer.cpp +++ b/src/mmg/kax_analyzer.cpp @@ -45,7 +45,7 @@ using namespace libebml; kax_analyzer_c::kax_analyzer_c(wxWindow *nparent, string nname): wxDialog(nparent, -1, "Analysis running", wxDefaultPosition, #ifdef SYS_WINDOWS - wxSize(300, 100), + wxSize(300, 130), #else wxSize(300, 100), #endif @@ -63,7 +63,11 @@ kax_analyzer_c::kax_analyzer_c(wxWindow *nparent, string nname): wxButton *b_abort = new wxButton(this, ID_B_ANALYZER_ABORT, _("Abort"), wxPoint(0, 0), wxDefaultSize); +#if defined(SYS_WINDOWS) + b_abort->Move(wxPoint(150 - b_abort->GetSize().GetWidth() / 2, 70)); +#else b_abort->Move(wxPoint(150 - b_abort->GetSize().GetWidth() / 2, 60)); +#endif } kax_analyzer_c::~kax_analyzer_c() {