XRC: ability to create wxCommandLinkButton with wxBitmapBundle
This commit is contained in:
@@ -48,7 +48,7 @@ wxObject *wxCommandLinkButtonXmlHandler::DoCreateResource()
|
||||
|
||||
if ( GetParamNode("bitmap") )
|
||||
{
|
||||
button->SetBitmap(GetBitmap("bitmap", wxART_BUTTON),
|
||||
button->SetBitmap(GetBitmapBundle("bitmap", wxART_BUTTON),
|
||||
GetDirection("bitmapposition"));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user