diff --git a/src/html/helpwnd.cpp b/src/html/helpwnd.cpp index 3bd5c41506..1a4b60cc7e 100644 --- a/src/html/helpwnd.cpp +++ b/src/html/helpwnd.cpp @@ -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