From 236b0eceb75f7851809fdfb7cc19681ce4d23755 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Fri, 27 May 2011 23:13:05 +0200 Subject: [PATCH] Fixes for compilation with wxWidgets 2.9.x --- src/mmg/tabs/global.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mmg/tabs/global.cpp b/src/mmg/tabs/global.cpp index ee2f6e31c..00fc6e03c 100644 --- a/src/mmg/tabs/global.cpp +++ b/src/mmg/tabs/global.cpp @@ -144,7 +144,7 @@ tab_global::tab_global(wxWindow *parent): sb_file_segment_linking = new wxStaticBox(this, -1, wxEmptyString); siz_linking_box = new wxStaticBoxSizer(sb_file_segment_linking, wxVERTICAL); - siz_linking = new wxFlexGridSizer(2, 2); + siz_linking = new wxFlexGridSizer(2); siz_linking->AddGrowableCol(1); st_segment_uid = new wxStaticText(this, -1, wxEmptyString); @@ -166,7 +166,7 @@ tab_global::tab_global(wxWindow *parent): sb_chapters = new wxStaticBox(this, -1, wxEmptyString); siz_chapters = new wxStaticBoxSizer(sb_chapters, wxVERTICAL); st_chapter_file = new wxStaticText(this, -1, wxEmptyString); - siz_chap_l1_l2 = new wxFlexGridSizer(2, 2); + siz_chap_l1_l2 = new wxFlexGridSizer(2); siz_chap_l1_l2->AddGrowableCol(1); siz_chap_l1_l2->Add(st_chapter_file, 0, wxALIGN_CENTER_VERTICAL | wxLEFT | wxRIGHT, 5); siz_chap_l1 = new wxBoxSizer(wxHORIZONTAL); @@ -205,7 +205,7 @@ tab_global::tab_global(wxWindow *parent): siz_chap_l3->Add(tc_cue_name_format, 0, wxALIGN_CENTER_VERTICAL | wxLEFT | wxRIGHT, 5); siz_chapters->Add(siz_chap_l3, 0, wxTOP, 2); - siz_fg = new wxFlexGridSizer(3, 2); + siz_fg = new wxFlexGridSizer(3); siz_fg->AddGrowableCol(1); siz_fg->Add(st_tag_file, 0, wxALIGN_CENTER_VERTICAL | wxLEFT, 5);