/////////////////////////////////////////////////////////////////////////////
-// Name: dcmemory.cpp
+// Name: src/msw/dcmemory.cpp
// Purpose: wxMemoryDC class
// Author: Julian Smart
// Modified by:
// headers
// ----------------------------------------------------------------------------
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
- #pragma implementation "dcmemory.h"
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#pragma hdrstop
#endif
+#include "wx/dcmemory.h"
+
#ifndef WX_PRECOMP
#include "wx/utils.h"
#include "wx/log.h"
#include "wx/msw/private.h"
-#include "wx/dcmemory.h"
-
// ----------------------------------------------------------------------------
// wxWin macros
// ----------------------------------------------------------------------------
{
wxCHECK_RET( dc, _T("NULL dc in wxMemoryDC ctor") );
- dc->BeginDrawing();
-
CreateCompatible(dc);
- dc->EndDrawing();
-
Init();
}
wxDC::DoDrawRectangle(x, y, width, height);
}
}
-