]> git.saurik.com Git - wxWidgets.git/commitdiff
Better border style for HTML window
authorJulian Smart <julian@anthemion.co.uk>
Tue, 13 Mar 2012 17:43:55 +0000 (17:43 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Tue, 13 Mar 2012 17:43:55 +0000 (17:43 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/html/helpwnd.cpp

index 3bd5c41506cafb9574fbb70312fa6121aeb8c85a..1a4b60cc7e3317466599bcf61cfb72c17eee7da7 100644 (file)
@@ -358,8 +358,7 @@ bool wxHtmlHelpWindow::Create(wxWindow* parent, wxWindowID id,
 
 #ifdef __WXMSW__
     wxBorder htmlWindowBorder = GetDefaultBorder();
-    if (htmlWindowBorder == wxBORDER_SUNKEN)
-        htmlWindowBorder = wxBORDER_SIMPLE;
+    htmlWindowBorder = wxBORDER_THEME;
 #else
     wxBorder htmlWindowBorder = wxBORDER_SUNKEN;
 #endif