Use event tables instead of Connect() in wxInfoBarGeneric.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 5 Oct 2009 22:55:22 +0000 (22:55 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 5 Oct 2009 22:55:22 +0000 (22:55 +0000)
commitcc7033c2f581cd45e97196c5be847cfd5bdad7a1
tree3f0963abd9a65b2091c86b66af8b73d6641a8f81
parente6b2aae1b84f4818f1b2b30f5d15bdde0fa67408
Use event tables instead of Connect() in wxInfoBarGeneric.

This allows to handle events from the info bar buttons in the derived classes
using the event tables while if the base class used Connect(), the derived
classes static event handlers would be never executed.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/generic/infobar.h
src/generic/infobar.cpp