]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't use sunken border for the list control in log dialog.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 16 Oct 2009 16:25:37 +0000 (16:25 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 16 Oct 2009 16:25:37 +0000 (16:25 +0000)
There doesn't seem to be any reason to use a heavy border here as there is
nothing much to separate the list control from. In particular this looks
rather horrible under OS X.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/logg.cpp

index c2e487c0ea189a533487ddfb7662958896a968a7..74edb0cabbe9e2516c65cff376832ab1e5a7ffde 100644 (file)
@@ -795,7 +795,7 @@ void wxLogDialog::CreateDetailsControls(wxWindow *parent)
     // create the list ctrl now
     m_listctrl = new wxListCtrl(parent, wxID_ANY,
                                 wxDefaultPosition, wxDefaultSize,
     // create the list ctrl now
     m_listctrl = new wxListCtrl(parent, wxID_ANY,
                                 wxDefaultPosition, wxDefaultSize,
-                                wxSUNKEN_BORDER |
+                                wxBORDER_SIMPLE |
                                 wxLC_REPORT |
                                 wxLC_NO_HEADER |
                                 wxLC_SINGLE_SEL);
                                 wxLC_REPORT |
                                 wxLC_NO_HEADER |
                                 wxLC_SINGLE_SEL);