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
This commit is contained in:
Vadim Zeitlin
2009-10-05 22:55:22 +00:00
parent e6b2aae1b8
commit cc7033c2f5
2 changed files with 5 additions and 8 deletions

View File

@@ -114,6 +114,7 @@ private:
// the original parent background colour, before we changed it
wxColour m_origParentBgCol;
DECLARE_EVENT_TABLE()
wxDECLARE_NO_COPY_CLASS(wxInfoBarGeneric);
};