X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3b9f782ef3949f583e8ac53795d36787f044fc3..7735b2ea691f41d7a7f007befbe969386873b86e:/src/gtk1/bitmap.cpp diff --git a/src/gtk1/bitmap.cpp b/src/gtk1/bitmap.cpp index 3c651e38db..109450dc55 100644 --- a/src/gtk1/bitmap.cpp +++ b/src/gtk1/bitmap.cpp @@ -220,8 +220,9 @@ GdkBitmap *wxMask::GetBitmap() const return m_bitmap; } + //----------------------------------------------------------------------------- -// wxBitmap +// wxBitmapRefData //----------------------------------------------------------------------------- class wxBitmapRefData : public wxGDIRefData @@ -266,7 +267,7 @@ wxBitmapRefData::wxBitmapRefData(const wxBitmapRefData& data) #if wxUSE_PALETTE wxASSERT_MSG( !data.m_palette, - _T("copying bitmaps palette not implemented") ); + wxT("copying bitmaps palette not implemented") ); #endif // wxUSE_PALETTE @@ -347,21 +348,15 @@ wxBitmapRefData::~wxBitmapRefData() #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;