XRC: ability to create wxCommandLinkButton with wxBitmapBundle

This commit is contained in:
Alexander Koshelev
2022-01-20 17:22:52 +03:00
parent 4ec849a28c
commit 7f5910ad07

View File

@@ -48,7 +48,7 @@ wxObject *wxCommandLinkButtonXmlHandler::DoCreateResource()
if ( GetParamNode("bitmap") )
{
button->SetBitmap(GetBitmap("bitmap", wxART_BUTTON),
button->SetBitmap(GetBitmapBundle("bitmap", wxART_BUTTON),
GetDirection("bitmapposition"));
}