git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22766
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#include "wx/artprov.h"
#include "wx/hashmap.h"
#include "wx/module.h"
#include "wx/artprov.h"
#include "wx/hashmap.h"
#include "wx/module.h"
// For the purposes of forcing this module to link
extern char g_ArtProviderModule;
// For the purposes of forcing this module to link
extern char g_ArtProviderModule;
bmp = node->GetData()->CreateBitmap(id, client, size);
if ( bmp.Ok() )
{
bmp = node->GetData()->CreateBitmap(id, client, size);
if ( bmp.Ok() )
{
if ( size != wxDefaultSize &&
(bmp.GetWidth() != size.x || bmp.GetHeight() != size.y) )
{
if ( size != wxDefaultSize &&
(bmp.GetWidth() != size.x || bmp.GetHeight() != size.y) )
{
img.Rescale(size.x, size.y);
bmp = wxBitmap(img);
}
img.Rescale(size.x, size.y);
bmp = wxBitmap(img);
}