Fix wxXmlResourceHandler::GetImageList() to use specified size.
Fixes #13319 (patch). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1961,7 +1961,7 @@ wxImageList *wxXmlResourceHandler::GetImageList(const wxString& param)
|
||||
{
|
||||
if (n->GetType() == wxXML_ELEMENT_NODE && n->GetName() == parambitmap)
|
||||
{
|
||||
wxIcon icon = GetIcon(n);
|
||||
wxIcon icon = GetIcon(n, wxART_OTHER, size);
|
||||
if ( !imagelist )
|
||||
{
|
||||
// We need the real image list size to create it.
|
||||
|
Reference in New Issue
Block a user