]> git.saurik.com Git - wxWidgets.git/commitdiff
No changes, just remove unneeded variable initialization.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 29 Dec 2012 20:15:50 +0000 (20:15 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 29 Dec 2012 20:15:50 +0000 (20:15 +0000)
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

index a8e58cbf5fb7c1ba39751940d99fb134e02eacfc..a3e4d7c1cfb18d4955f3b7ea759f80aef6c6ef44 100644 (file)
@@ -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