/////////////////////////////////////////////////////////////////////////////
-// Name: src/mac/carbon/statbmp.cpp
+// Name: src/osx/carbon/statbmp.cpp
// Purpose: wxStaticBitmap
// Author: Stefan Csomor
// Modified by:
#include "wx/dcclient.h"
#endif
-IMPLEMENT_DYNAMIC_CLASS(wxStaticBitmap, wxControl)
-
/*
* wxStaticBitmap
*/
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