From: Stefan Csomor Date: Tue, 4 Jan 2011 12:52:12 +0000 (+0000) Subject: add rtti for generic class X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/65918917b12766d7addaea77c0d8b1cd8a63a69c?ds=sidebyside add rtti for generic class git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/statbmpg.cpp b/src/generic/statbmpg.cpp index 63dac5b2ae..735c0b9d32 100644 --- a/src/generic/statbmpg.cpp +++ b/src/generic/statbmpg.cpp @@ -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