return m_bitmap;
}
+
//-----------------------------------------------------------------------------
-// wxBitmap
+// wxBitmapRefData
//-----------------------------------------------------------------------------
class wxBitmapRefData : public wxGDIRefData
#if wxUSE_PALETTE
wxASSERT_MSG( !data.m_palette,
- _T("copying bitmaps palette not implemented") );
+ wxT("copying bitmaps palette not implemented") );
#endif // wxUSE_PALETTE
#endif // wxUSE_PALETTE
}
+
+//-----------------------------------------------------------------------------
+// wxBitmap
//-----------------------------------------------------------------------------
#define M_BMPDATA ((wxBitmapRefData *)m_refData)
IMPLEMENT_DYNAMIC_CLASS(wxBitmap,wxGDIObject)
-wxBitmap::wxBitmap()
-{
-}
-
-wxBitmap::wxBitmap( int width, int height, int depth )
-{
- Create( width, height, depth );
-}
-
wxGDIRefData *wxBitmap::CreateGDIRefData() const
{
return new wxBitmapRefData;