Fix incorrect flags in a sizer in wxDebugReportDialog.
Don't use wxEXPAND (implicitly added by SizerFlags()) and wxCENTRE together.
This commit is contained in:
parent
03915200af
commit
6ae8145e9d
@ -332,7 +332,7 @@ wxDebugReportDialog::wxDebugReportDialog(wxDebugReport& dbgrpt)
|
||||
|
||||
wxSizer *sizerPreview =
|
||||
new wxStaticBoxSizer(wxVERTICAL, this, _("&Debug report preview:"));
|
||||
sizerPreview->Add(CreateTextSizer(msg), SizerFlags(0).Centre());
|
||||
sizerPreview->Add(CreateTextSizer(msg), wxSizerFlags().Centre().Border());
|
||||
|
||||
// ... and the list of files in this debug report with buttons to view them
|
||||
wxSizer *sizerFileBtns = new wxBoxSizer(wxVERTICAL);
|
||||
|
Loading…
Reference in New Issue
Block a user