#include "wx/xpmdecod.h"
-#ifdef wxHAVE_RAW_BITMAP
-#include "wx/rawbmp.h"
-#endif
-
// missing from mingw32 header
#ifndef CLR_INVALID
#define CLR_INVALID ((COLORREF)-1)
wxPalette m_bitmapPalette;
#endif // wxUSE_PALETTE
-#ifdef __WXDEBUG__
- wxDC *m_selectedInto;
-#endif // __WXDEBUG__
-
#if wxUSE_WXDIB
wxDIB *m_dib;
#endif
private:
wxMask *m_bitmapMask;
- DECLARE_NO_COPY_CLASS(wxBitmapRefData)
+ wxDECLARE_NO_COPY_CLASS(wxBitmapRefData);
};
// ----------------------------------------------------------------------------
wxBitmapRefData::wxBitmapRefData()
{
-#ifdef __WXDEBUG__
- m_selectedInto = NULL;
-#endif
m_bitmapMask = NULL;
m_hBitmap = (WXHBITMAP) NULL;
#endif // NEVER_USE_DIB
-wxBitmap::~wxBitmap()
-{
-}
-
wxBitmap::wxBitmap(const char bits[], int width, int height, int depth)
{
Init();
}
-wxBitmap::wxBitmap(int w, int h, int d)
-{
-}
-
wxBitmap::wxBitmap(int w, int h, const wxDC& dc)
{
}
#if wxUSE_PALETTE
wxPalette* wxBitmap::GetPalette() const
{
- return (wxPalette *) NULL;
+ return NULL;
}
#endif
wxMask *wxBitmap::GetMask() const
{
- return (wxMask *) NULL;
-}
-
-#ifdef __WXDEBUG__
-
-wxDC *wxBitmap::GetSelectedInto() const
-{
- return (wxDC *) NULL;
-}
-
-#endif
-
-void wxBitmap::UseAlpha()
-{
+ return NULL;
}
bool wxBitmap::HasAlpha() const
// wxBitmap setters
// ----------------------------------------------------------------------------
-#ifdef __WXDEBUG__
-
-void wxBitmap::SetSelectedInto(wxDC *dc)
-{
-}
-
-#endif
-
#if wxUSE_PALETTE
void wxBitmap::SetPalette(const wxPalette& palette)
// raw bitmap access support
// ----------------------------------------------------------------------------
-#ifdef wxHAVE_RAW_BITMAP
-void *wxBitmap::GetRawData(wxPixelDataBase& data, int bpp)
-{
- return NULL;
-}
-
-void wxBitmap::UngetRawData(wxPixelDataBase& dataBase)
-{
- return;
-}
-#endif // #ifdef wxHAVE_RAW_BITMAP
-
// ----------------------------------------------------------------------------
// wxMask
// ----------------------------------------------------------------------------