From 1084433147bd276a93689382b1498061032843eb Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 29 Dec 2012 20:15:50 +0000 Subject: [PATCH] No changes, just remove unneeded variable initialization. Don't initialize htmlWindowBorder in wxHtmlHelpWindow::Create() just to overwrite it with another value on the next line. Closes #14933. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/html/helpwnd.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.45.2