use wxART_BUTTON for stock bitmap buttons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
16cfbafc6a
commit
abda7717b3
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user