wxPaintDC dc(this);
PrepareDC(dc);
- if (m_bitmap.Ok())
+ if (m_bitmap.IsOk())
{
dc.DrawBitmap( m_bitmap , 0 , 0 , TRUE ) ;
}
wxSize wxStaticBitmap::DoGetBestSize() const
{
- if ( m_bitmap.Ok() )
+ if ( m_bitmap.IsOk() )
return DoGetSizeFromClientSize( wxSize(m_bitmap.GetWidth(), m_bitmap.GetHeight()) );
// this is completely arbitrary