X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/210a651b4f4ef5ff4e220a100a10bb4f29e08cfd..903972f99993e6f31a31b66d1866f6fc982a1c43:/include/wx/bmpbuttn.h diff --git a/include/wx/bmpbuttn.h b/include/wx/bmpbuttn.h index 7c1ad834fd..91ff9dcec0 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) @@ -83,14 +86,10 @@ private: #include "wx/motif/bmpbuttn.h" #elif defined(__WXGTK__) #include "wx/gtk/bmpbuttn.h" -#elif defined(__WXQT__) - #include "wx/qt/bmpbuttn.h" #elif defined(__WXMAC__) #include "wx/mac/bmpbuttn.h" #elif defined(__WXPM__) #include "wx/os2/bmpbuttn.h" -#elif defined(__WXSTUBS__) - #include "wx/stubs/bmpbuttn.h" #endif #endif // wxUSE_BMPBUTTON