]> git.saurik.com Git - wxWidgets.git/commitdiff
Add extra border below the buttons in the generic log dialog.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 2 Jul 2012 15:02:56 +0000 (15:02 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 2 Jul 2012 15:02:56 +0000 (15:02 +0000)
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

index 5c30264a17a77d0762c3d455e2c7ebb243591056..db877a0e000b00945be206932e6a78e221f34a96 100644 (file)
@@ -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);