From 80e2b031822ee2f6173f163b13d473283d1e4b38 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 7 Jun 2011 14:28:55 +0000 Subject: [PATCH] Use DECLARE_DYNAMIC_CLASS instead of DECLARE_CLASS. Correctly use DECLARE_DYNAMIC_CLASS for the classes that are supposed to be dynamically creatable as using DECLARE_CLASS doesn't work any longer after the last commit. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msw/helpchm.h | 2 +- include/wx/richtext/richtextctrl.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/msw/helpchm.h b/include/wx/msw/helpchm.h index 86cb059e4c..13d062de38 100644 --- a/include/wx/msw/helpchm.h +++ b/include/wx/msw/helpchm.h @@ -82,7 +82,7 @@ protected: wxString m_helpFile; - DECLARE_CLASS(wxCHMHelpController) + DECLARE_DYNAMIC_CLASS(wxCHMHelpController) }; #endif // wxUSE_MS_HTML_HELP diff --git a/include/wx/richtext/richtextctrl.h b/include/wx/richtext/richtextctrl.h index be03f9c48d..54e8a6c830 100644 --- a/include/wx/richtext/richtextctrl.h +++ b/include/wx/richtext/richtextctrl.h @@ -212,7 +212,7 @@ class WXDLLIMPEXP_RICHTEXT wxRichTextCtrl : public wxControl, public wxTextCtrlIface, public wxScrollHelper { - DECLARE_CLASS( wxRichTextCtrl ) + DECLARE_DYNAMIC_CLASS( wxRichTextCtrl ) DECLARE_EVENT_TABLE() public: