X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..a434b43fd4ac9db00fa6115ab40449613595f1a2:/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