Ticket #14933 (closed optimization: fixed)
[patch] cleanup copy and paste code in src/html/helpwnd.cpp
| Reported by: | ettl.martin | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | wxHtml | Version: | 2.9-svn |
| Keywords: | Cc: | ||
| Blocked By: | Patch: | yes | |
| Blocking: |
Description
Please review the attached patch, which cleans up potential copy and pasted code in file src/html/helpwnd.cpp.
It removes a redundant initialization:
wxBorder htmlWindowBorder = GetDefaultBorder();
htmlWindowBorder = wxBORDER_THEME;
and converts it to
wxBorder htmlWindowBorder = wxBORDER_THEME;
Best regards and many thanks
Martin Ettl
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

