]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dcmemory.cpp
fix compilation problem, pass 2
[wxWidgets.git] / src / msw / dcmemory.cpp
index f93d3b796274ddc7f16563a60463f135b5fdb1d6..9633d806918452591272365df5e60f3650f3d6bd 100644 (file)
 // 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"
 
@@ -62,12 +58,8 @@ wxMemoryDC::wxMemoryDC(wxDC *dc)
 {
     wxCHECK_RET( dc, _T("NULL dc in wxMemoryDC ctor") );
 
-    dc->BeginDrawing();
-
     CreateCompatible(dc);
 
-    dc->EndDrawing();
-
     Init();
 }