Refactor wxXRC to allow defining handlers outside of xrc library.
Split wxXmlResourceHandler into an ABC and the real implementation to allow referencing the ABC in the core library itself but without pulling in all of the XRC into it. This also allows defining XRC handlers, which only depend on this ABC and not the xrc library, in other libraries, such as richtext, as demonstrated by the now enabled wxRichTextXMLHandler. Closes #10996. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
// ============================================================================
|
||||
|
||||
#if wxUSE_ANIMATIONCTRL
|
||||
wxAnimation wxXmlResourceHandler::GetAnimation(const wxString& param)
|
||||
wxAnimation wxXmlResourceHandlerImpl::GetAnimation(const wxString& param)
|
||||
{
|
||||
const wxString name = GetParamValue(param);
|
||||
if ( name.empty() )
|
||||
|
||||
Reference in New Issue
Block a user