add rtti for generic class

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2011-01-04 12:52:12 +00:00
parent 3e8dba905b
commit 65918917b1

View File

@@ -38,5 +38,12 @@ void wxGenericStaticBitmap::OnPaint(wxPaintEvent& WXUNUSED(event))
dc.DrawBitmap(m_bitmap, 0, 0, true);
}
// under OSX_cocoa is a define, avoid duplicate info
#ifndef wxGenericStaticBitmap
IMPLEMENT_DYNAMIC_CLASS(wxGenericStaticBitmap, wxStaticBitmapBase)
#endif
#endif // wxUSE_STATBMP