// Created: 15.08.00
// RCS-ID: $Id$
// Copyright: (c) 2000 SciTech Software, Inc. (www.scitechsoft.com)
-// Licence: wxWindows license
+// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
// ===========================================================================
#endif // WX_PRECOMP
#include "wx/image.h"
+#include "wx/log.h"
#include "wx/univ/theme.h"
#include "wx/univ/renderer.h"
if ( bitmap.Ok() )
{
rectLabel.Inflate(-marginX, -marginY);
-
- // I don't know why this is necessary. RR.
- rectLabel.x ++;
- rectLabel.y ++;
}
wxControl *ctrl = wxStaticCast(m_window, wxControl);
else if ( stretch & wxEXPAND )
{
// stretch bitmap to fill the entire control
- bmp = wxImage(bmp.ConvertToImage()).Scale(rect.width, rect.height);
+ bmp = wxBitmap(wxImage(bmp.ConvertToImage()).Scale(rect.width, rect.height));
}
else // not stretched, not tiled
{