Ticket #14822 (closed defect: invalid)
wxHtmlLinkEvent and wxHtmlCellEvent: copy constructor missing
| Reported by: | tvb377 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | wxHtml | Version: | 2.9.4 |
| Keywords: | wxHtmlLinkEvent wxHtmlCellEvent | Cc: | |
| Blocked By: | Patch: | yes | |
| Blocking: |
Description
AFAICS these classes should be given wxDECLARE_DYNAMIC_CLASS_NO_COPY
instead of NO_ASSIGN.
Given their member variables it seems to me an error to attempt to copy an instance of these classes.
I noticed this during LTO-linking with core,base static libs.
gcc then somehow (actually, I don't understand why, given the wx-#includes I'm using) emits an auto generated copy constructor for these classes.
After applying the attached changes wxWidgets (wxhtml) still compiles ok.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

