]> git.saurik.com Git - wxWidgets.git/commitdiff
add rtti for generic class
authorStefan Csomor <csomor@advancedconcepts.ch>
Tue, 4 Jan 2011 12:52:12 +0000 (12:52 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Tue, 4 Jan 2011 12:52:12 +0000 (12:52 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/statbmpg.cpp

index 63dac5b2aed21b85d4ddb07c4938b2cd751e6ab4..735c0b9d32ca8ea8f37766334ccc0f037f5130ba 100644 (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