#19266: Fix for ticket 17623 (Bind doesn't work for private and protected
inheritance) fails with GCC11 and std=gnu++17 mode
-----------------------+-------------------------------------
Reporter: mgimenez | Owner: Vadim Zeitlin <vadim@…>
Type: defect | Status: closed
Priority: normal | Milestone: 3.1.6
Component: GUI-all | Version: dev-latest
Resolution: fixed | Keywords: gcc11 bind C++17
Blocked By: | Blocking:
Patch: 0 |
-----------------------+-------------------------------------
Changes (by Vadim Zeitlin <vadim@…>):
* status: new => closed
* owner: => Vadim Zeitlin <vadim@…>
* resolution: => fixed
Comment:
In [changeset:"9b5a72bd1e9f3acbef90aa3bb68facd0f6ef7bb2/git-wxWidgets"
9b5a72bd1/git-wxWidgets]:
{{{
#!CommitTicketReference repository="git-wxWidgets"
revision="9b5a72bd1e9f3acbef90aa3bb68facd0f6ef7bb2"
Document Connect() limitations compared to Bind()
Instead of just saying that Bind() is better, provide some points
illustrating why is it better.
Notable mention that Connect() can only be used with methods of the
classes publicly inheriting from wxEvtHandler, unlike Bind().
Closes #19266.
}}}
--
Ticket URL: <
https://trac.wxwidgets.org/ticket/19266#comment:10>