// Author: Vadim Zeitlin
// Modified by:
// Created: 15.08.00
-// RCS-ID: $Id$
// Copyright: (c) 2000 SciTech Software, Inc. (www.scitechsoft.com)
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
m_dc.SetTextForeground(m_window->GetForegroundColour());
wxString label = m_window->GetLabel();
- if ( !label.empty() || bitmap.Ok() )
+ if ( !label.empty() || bitmap.IsOk() )
{
wxRect rectLabel = m_rect;
- if ( bitmap.Ok() )
+ if ( bitmap.IsOk() )
{
rectLabel.Inflate(-marginX, -marginY);
}
{
// we may change the bitmap if we stretch it
wxBitmap bmp = bitmap;
- if ( !bmp.Ok() )
+ if ( !bmp.IsOk() )
return;
int width = bmp.GetWidth(),