'Compatibility' fix for connecting events.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2005-02-16 18:02:48 +00:00
parent 7fc24fb152
commit 432968bf3d
2 changed files with 10 additions and 7 deletions

View File

@@ -49,6 +49,8 @@ class WXDLLIMPEXP_BASE wxList;
class WXDLLIMPEXP_CORE wxWindowBase;
#endif // wxUSE_GUI
class WXDLLIMPEXP_BASE wxEvtHandler;
// ----------------------------------------------------------------------------
// Event types
// ----------------------------------------------------------------------------
@@ -2095,7 +2097,7 @@ private:
// event handler and related classes
// ============================================================================
typedef void (wxObject::*wxObjectEventFunction)(wxEvent&);
typedef void (wxEvtHandler::*wxObjectEventFunction)(wxEvent&);
// we can't have ctors nor base struct in backwards compatibility mode or
// otherwise we won't be able to initialize the objects with an agregate, so