X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..ce6cea6808b2bdcb69cbab0d73c10b641ae2f0e2:/include/wx/msw/bmpbuttn.h diff --git a/include/wx/msw/bmpbuttn.h b/include/wx/msw/bmpbuttn.h index fa4233e801..8551941d1c 100644 --- a/include/wx/msw/bmpbuttn.h +++ b/include/wx/msw/bmpbuttn.h @@ -48,7 +48,7 @@ public: const wxString& name = wxButtonNameStr); #if WXWIN_COMPATIBILITY - wxBitmap *GetBitmap() const { return (wxBitmap *) & m_bmp; } + wxBitmap *GetBitmap() const { return (wxBitmap *) &GetBitmapLabel(); } #endif // Implementation