]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't use wxSIMPLE_BORDER on Windows since it gives a black border instead
authorJulian Smart <julian@anthemion.co.uk>
Thu, 18 May 2006 09:38:47 +0000 (09:38 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 18 May 2006 09:38:47 +0000 (09:38 +0000)
of blue on XP

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

src/generic/treebkg.cpp

index 165422a7059960e05a405c5f54326c0032066618..4f57582b0cdac4948fea8698e9358888e0365da4 100644 (file)
@@ -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