From 8b883c9de8c1bd93ece8fd7403d759dd738817d7 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 2 Jul 2012 15:02:56 +0000 Subject: [PATCH] Add extra border below the buttons in the generic log dialog. This fixes the problem with the dialog appearance in wxOSX/Cocoa where the bottom of the buttons was truncated otherwise and arguably makes the dialog look slightly better in the other ports too. Closes #14398. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/logg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generic/logg.cpp b/src/generic/logg.cpp index 5c30264a17..db877a0e00 100644 --- a/src/generic/logg.cpp +++ b/src/generic/logg.cpp @@ -780,7 +780,7 @@ wxLogDialog::wxLogDialog(wxWindow *parent, btnSizer->Add(new wxButton(win, wxID_SAVE), flagsBtn); #endif // CAN_SAVE_FILES - paneSz->Add(btnSizer, wxSizerFlags().Right().Border(wxTOP)); + paneSz->Add(btnSizer, wxSizerFlags().Right().Border(wxTOP|wxBOTTOM)); #endif // wxUSE_CLIPBOARD || CAN_SAVE_FILES win->SetSizer(paneSz); -- 2.45.2