X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6e711d5c093dcc758e3f1670caf845612ea9fa92..832e44d38a9c283ea1b03a76f80efb52519de21f:/include/wx/bmpbuttn.h?ds=inline diff --git a/include/wx/bmpbuttn.h b/include/wx/bmpbuttn.h index 884796042a..ee7a64bf0b 100644 --- a/include/wx/bmpbuttn.h +++ b/include/wx/bmpbuttn.h @@ -27,7 +27,10 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxButtonNameStr; class WXDLLEXPORT wxBitmapButtonBase : public wxButton { public: - wxBitmapButtonBase() { m_marginX = m_marginY = 0; } + wxBitmapButtonBase() + : m_bmpNormal(), m_bmpSelected(), m_bmpFocus(), m_bmpDisabled() + , m_marginX(0), m_marginY(0) + { } // set the bitmaps void SetBitmapLabel(const wxBitmap& bitmap)