git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42050
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
/// Convert a decimal to Roman numerals
wxString wxRichTextDecimalToRoman(long n);
+
+WXDLLIMPEXP_RICHTEXT void wxRichTextModuleInit();
+
#endif
// wxUSE_RICHTEXT
IMPLEMENT_DYNAMIC_CLASS(wxRichTextModule, wxModule)
+// If the richtext lib is dynamically loaded after the app has already started
+// (such as from wxPython) then the built-in module system will not init this
+// module. Provide this function to do it manually.
+void wxRichTextModuleInit()
+{
+ wxModule* module = new wxRichTextModule;
+ module->Init();
+ wxModule::RegisterModule(module);
+}
+
+
/*!
* Commands for undo/redo
*