From 7f5910ad0761eb9fc2c8d2b953ac92a6f0ede952 Mon Sep 17 00:00:00 2001 From: Alexander Koshelev Date: Thu, 20 Jan 2022 17:22:52 +0300 Subject: [PATCH] XRC: ability to create wxCommandLinkButton with wxBitmapBundle --- src/xrc/xh_cmdlinkbn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xrc/xh_cmdlinkbn.cpp b/src/xrc/xh_cmdlinkbn.cpp index 06b8a65744..d4e3654a0d 100644 --- a/src/xrc/xh_cmdlinkbn.cpp +++ b/src/xrc/xh_cmdlinkbn.cpp @@ -48,7 +48,7 @@ wxObject *wxCommandLinkButtonXmlHandler::DoCreateResource() if ( GetParamNode("bitmap") ) { - button->SetBitmap(GetBitmap("bitmap", wxART_BUTTON), + button->SetBitmap(GetBitmapBundle("bitmap", wxART_BUTTON), GetDirection("bitmapposition")); }