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:
@@ -44,7 +44,7 @@ wxObject *wxBitmapButtonXmlHandler::DoCreateResource()
|
|||||||
|
|
||||||
button->Create(m_parentAsWindow,
|
button->Create(m_parentAsWindow,
|
||||||
GetID(),
|
GetID(),
|
||||||
GetBitmap(wxT("bitmap")),
|
GetBitmap(wxT("bitmap"), wxART_BUTTON),
|
||||||
GetPosition(), GetSize(),
|
GetPosition(), GetSize(),
|
||||||
GetStyle(wxT("style"), wxBU_AUTODRAW),
|
GetStyle(wxT("style"), wxBU_AUTODRAW),
|
||||||
wxDefaultValidator,
|
wxDefaultValidator,
|
||||||
|
Reference in New Issue
Block a user