From: George Tasker Date: Fri, 8 Feb 2002 13:36:14 +0000 (+0000) Subject: Patch #514729 applied - adds missing RTTIs to wxToolLayoutItem X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b2995a23bcc450cdd9ef7d843bbe414f04c6c877 Patch #514729 applied - adds missing RTTIs to wxToolLayoutItem git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/contrib/include/wx/fl/dyntbar.h b/contrib/include/wx/fl/dyntbar.h index ea075be582..a87b951c65 100644 --- a/contrib/include/wx/fl/dyntbar.h +++ b/contrib/include/wx/fl/dyntbar.h @@ -25,6 +25,8 @@ Tool layout item. class wxToolLayoutItem : public wxObject { + DECLARE_DYNAMIC_CLASS(wxToolLayoutItem) + public: wxRect mRect; bool mIsSeparator; @@ -99,8 +101,8 @@ wxDynamicToolBar manages containment and layout of tool windows. class wxDynamicToolBar : public wxToolBarBase { DECLARE_DYNAMIC_CLASS(wxDynamicToolBar) -protected: +protected: friend class wxDynamicToolBarSerializer; wxDynToolInfoArrayT mTools; diff --git a/contrib/src/fl/dyntbar.cpp b/contrib/src/fl/dyntbar.cpp index 194271339e..549d689916 100644 --- a/contrib/src/fl/dyntbar.cpp +++ b/contrib/src/fl/dyntbar.cpp @@ -39,6 +39,11 @@ BEGIN_EVENT_TABLE( wxDynamicToolBar, wxControl ) END_EVENT_TABLE() +/***** Implementation for class wxToolLayoutItem *****/ + +IMPLEMENT_DYNAMIC_CLASS(wxToolLayoutItem, wxObject) + + /***** Implementation for class wxDynToolInfo *****/ IMPLEMENT_DYNAMIC_CLASS(wxDynToolInfo, wxToolLayoutItem)