From: Václav Slavík Date: Sun, 7 Nov 2004 17:05:27 +0000 (+0000) Subject: use wxART_BUTTON for stock bitmap buttons X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/abda7717b391bd0a87fd078d524e2b52dbe3a45a use wxART_BUTTON for stock bitmap buttons git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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,