Add missing RTTI to some wxQT classes

This commit is contained in:
Graham Dawes
2018-12-21 14:55:33 +00:00
parent 622deec262
commit 538cdc0841
25 changed files with 71 additions and 4 deletions

View File

@@ -53,6 +53,8 @@ class wxRegionRefData: public wxGDIRefData
#define M_REGIONDATA ((wxRegionRefData *)m_refData)->m_qtRegion
wxIMPLEMENT_DYNAMIC_CLASS(wxRegion,wxRegionBase);
wxRegion::wxRegion()
{
m_refData = new wxRegionRefData();
@@ -255,6 +257,8 @@ const QRegion &wxRegion::GetHandle() const
//##############################################################################
wxIMPLEMENT_DYNAMIC_CLASS(wxRegionIterator,wxObject);
wxRegionIterator::wxRegionIterator()
{
m_qtRects = NULL;