// Modified by:
// Created: 04/01/98
// RCS-ID: $Id$
-// Copyright: (c) Julian Smart and Markus Holzem
-// Licence: wxWindows license
+// Copyright: (c) Julian Smart
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// ============================================================================
wxBitmapRefData::wxBitmapRefData()
{
+#ifdef __WXDEBUG__
m_selectedInto = NULL;
+#endif
m_bitmapMask = NULL;
m_hBitmap = (WXHBITMAP) NULL;
m_hasAlpha = FALSE;
return GetBitmapData() ? GetBitmapData()->GetMask() : (wxMask *) NULL;
}
+#ifdef __WXDEBUG__
+
wxDC *wxBitmap::GetSelectedInto() const
{
return GetBitmapData() ? GetBitmapData()->m_selectedInto : (wxDC *) NULL;
}
+#endif
+
#if WXWIN_COMPATIBILITY_2_4
int wxBitmap::GetQuality() const
// wxBitmap setters
// ----------------------------------------------------------------------------
+#ifdef __WXDEBUG__
+
void wxBitmap::SetSelectedInto(wxDC *dc)
{
if ( GetBitmapData() )
GetBitmapData()->m_selectedInto = dc;
}
+#endif
+
#if wxUSE_PALETTE
void wxBitmap::SetPalette(const wxPalette& palette)