diff --git a/src/html/helpwnd.cpp b/src/html/helpwnd.cpp
index a8e58cbf5f..a3e4d7c1cf 100644
--- a/src/html/helpwnd.cpp
+++ b/src/html/helpwnd.cpp
@@ -355,8 +355,7 @@ bool wxHtmlHelpWindow::Create(wxWindow* parent, wxWindowID id,
wxSizer *navigSizer = NULL;
#ifdef __WXMSW__
- wxBorder htmlWindowBorder = GetDefaultBorder();
- htmlWindowBorder = wxBORDER_THEME;
+ wxBorder htmlWindowBorder = wxBORDER_THEME;
#else
wxBorder htmlWindowBorder = wxBORDER_SUNKEN;
#endif