// Author: David Webster
// Modified by:
// Created: 10/14/99
-// RCS-ID: $Id$
// Copyright: (c) David Webster
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// Memory DC
/////////////////////////////////////////////////////////////////////////////
-wxMemoryDCImpl::wxMemoryDCImpl( wxMemoryDC *owner )
+wxMemoryDCImpl::wxMemoryDCImpl( wxMemoryDC *owner )
: wxPMDCImpl( owner )
{
- CreateCompatible(NULL);
- Init();
+ CreateCompatible(NULL);
+ Init();
}
-wxMemoryDCImpl::wxMemoryDCImpl( wxMemoryDC *owner, wxBitmap& bitmap )
- : wxPMDCImpl( owner )
-{
- CreateCompatible(NULL);
- Init();
+wxMemoryDCImpl::wxMemoryDCImpl( wxMemoryDC *owner, wxBitmap& bitmap )
+ : wxPMDCImpl( owner )
+{
+ CreateCompatible(NULL);
+ Init();
DoSelect(bitmap);
}
wxMemoryDCImpl::wxMemoryDCImpl( wxMemoryDC *owner, wxDC *pOldDC)
- : wxPMDCImpl( owner )
+ : wxPMDCImpl( owner )
{
- wxCHECK_RET( pOldDC, _T("NULL dc in wxMemoryDC ctor") );
+ wxCHECK_RET( pOldDC, wxT("NULL dc in wxMemoryDC ctor") );
CreateCompatible(pOldDC);
Init();
if (m_hOldBitmap)
{
::GpiSetBitmap(m_hPS, NULLHANDLE);
- if (m_vSelectedBitmap.Ok())
+ if (m_vSelectedBitmap.IsOk())
{
m_vSelectedBitmap.SetSelectedInto(NULL);
m_vSelectedBitmap = wxNullBitmap;
, int* pHeight
) const
{
- if (!m_vSelectedBitmap.Ok())
+ if (!m_vSelectedBitmap.IsOk())
{
*pWidth = 0;
*pHeight = 0;