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
This commit is contained in:
George Tasker
2002-02-08 13:36:14 +00:00
parent 39353a1c1c
commit b2995a23bc
2 changed files with 8 additions and 1 deletions

View File

@@ -25,6 +25,8 @@ Tool layout item.
class wxToolLayoutItem : public wxObject class wxToolLayoutItem : public wxObject
{ {
DECLARE_DYNAMIC_CLASS(wxToolLayoutItem)
public: public:
wxRect mRect; wxRect mRect;
bool mIsSeparator; bool mIsSeparator;
@@ -99,8 +101,8 @@ wxDynamicToolBar manages containment and layout of tool windows.
class wxDynamicToolBar : public wxToolBarBase class wxDynamicToolBar : public wxToolBarBase
{ {
DECLARE_DYNAMIC_CLASS(wxDynamicToolBar) DECLARE_DYNAMIC_CLASS(wxDynamicToolBar)
protected:
protected:
friend class wxDynamicToolBarSerializer; friend class wxDynamicToolBarSerializer;
wxDynToolInfoArrayT mTools; wxDynToolInfoArrayT mTools;

View File

@@ -39,6 +39,11 @@ BEGIN_EVENT_TABLE( wxDynamicToolBar, wxControl )
END_EVENT_TABLE() END_EVENT_TABLE()
/***** Implementation for class wxToolLayoutItem *****/
IMPLEMENT_DYNAMIC_CLASS(wxToolLayoutItem, wxObject)
/***** Implementation for class wxDynToolInfo *****/ /***** Implementation for class wxDynToolInfo *****/
IMPLEMENT_DYNAMIC_CLASS(wxDynToolInfo, wxToolLayoutItem) IMPLEMENT_DYNAMIC_CLASS(wxDynToolInfo, wxToolLayoutItem)