// 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, wxT("NULL dc in wxMemoryDC ctor") );
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;