]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/statbmpg.cpp
fixing reentrancy which happened in tests, bringing client coordinates origins in...
[wxWidgets.git] / 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