git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24708
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxObject *wxUnknownWidgetXmlHandler::DoCreateResource()
{
+ wxASSERT_MSG( m_instance == NULL,
+ _T("'unknown' controls can't be subclassed, use wxXmlResource::AttachUnknownControl") );
+
wxPanel *panel =
new wxUnknownControlContainer(m_parentAsWindow,
GetName(), -1,
wxObject *wxUnknownWidgetXmlHandler::DoCreateResource()
{
+ wxASSERT_MSG( m_instance == NULL,
+ _T("'unknown' controls can't be subclassed, use wxXmlResource::AttachUnknownControl") );
+
wxPanel *panel =
new wxUnknownControlContainer(m_parentAsWindow,
GetName(), -1,