]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/statbmpg.cpp
Add wxRichMessageDialog class.
[wxWidgets.git] / src / generic / statbmpg.cpp
index 9927e10606e9d3dc73cbeff15a29bf708a0ce955..8f6701dccb57f78a11e32794e57ac862bd0edd5f 100644 (file)
@@ -36,8 +36,7 @@ bool wxGenericStaticBitmap::Create(wxWindow *parent, wxWindowID id,
 void wxGenericStaticBitmap::OnPaint(wxPaintEvent& WXUNUSED(event))
 {
     wxPaintDC dc(this);
-    PrepareDC(dc);
-    if (m_bitmap.Ok())
+    if (m_bitmap.IsOk())
         dc.DrawBitmap(m_bitmap, 0, 0, true);
 }