From: Julian Smart Date: Thu, 18 May 2006 09:38:47 +0000 (+0000) Subject: Don't use wxSIMPLE_BORDER on Windows since it gives a black border instead X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/52f15cb7bb031f790ec23d7dcb058674cb27ef29?ds=inline Don't use wxSIMPLE_BORDER on Windows since it gives a black border instead of blue on XP git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/treebkg.cpp b/src/generic/treebkg.cpp index 165422a705..4f57582b0c 100644 --- a/src/generic/treebkg.cpp +++ b/src/generic/treebkg.cpp @@ -100,7 +100,9 @@ wxTreebook::Create(wxWindow *parent, wxID_TREEBOOKTREEVIEW, wxDefaultPosition, wxDefaultSize, - wxBORDER_SIMPLE | +#ifndef __WXMSW__ + wxBORDER_SIMPLE | // On wxMSW this produces a black border which is wrong +#endif wxTR_DEFAULT_STYLE | wxTR_HIDE_ROOT | wxTR_SINGLE