diff --git a/src/xrc/xh_bmpbt.cpp b/src/xrc/xh_bmpbt.cpp index 5a5d87e3c0..b102618c13 100644 --- a/src/xrc/xh_bmpbt.cpp +++ b/src/xrc/xh_bmpbt.cpp @@ -44,7 +44,7 @@ wxObject *wxBitmapButtonXmlHandler::DoCreateResource() button->Create(m_parentAsWindow, GetID(), - GetBitmap(wxT("bitmap")), + GetBitmap(wxT("bitmap"), wxART_BUTTON), GetPosition(), GetSize(), GetStyle(wxT("style"), wxBU_AUTODRAW), wxDefaultValidator,