Ticket URL: <
http://trac.wxwidgets.org/ticket/14822>
#14822: wxHtmlLinkEvent and wxHtmlCellEvent: copy constructor missing
---------------------------------------------+------------------------------
Reporter: tvb377 | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: wxHtml | Version: 2.9.4
Keywords: wxHtmlLinkEvent wxHtmlCellEvent | Blockedby:
Patch: 1 | Blocking:
---------------------------------------------+------------------------------
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.
--
Ticket URL: <
http://trac.wxwidgets.org/ticket/14822>