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
This commit is contained in:
parent
ffc13495b2
commit
80e2b03182
@ -82,7 +82,7 @@ protected:
|
||||
|
||||
wxString m_helpFile;
|
||||
|
||||
DECLARE_CLASS(wxCHMHelpController)
|
||||
DECLARE_DYNAMIC_CLASS(wxCHMHelpController)
|
||||
};
|
||||
|
||||
#endif // wxUSE_MS_HTML_HELP
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user