]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dcmemory.cpp
more backwards compatibility for printing
[wxWidgets.git] / src / msw / dcmemory.cpp
index f3de3b4b4afac45464e1ceeb42d3fdf8e7de44a4..dd76ffcd3acbca5546bf0c4b2e6645f9704deee8 100644 (file)
@@ -39,7 +39,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxMemoryDC, wxDC)
 
 wxMemoryDC::wxMemoryDC(void)
 {
-  m_hDC = (WXHDC) ::CreateCompatibleDC(NULL);
+  m_hDC = (WXHDC) ::CreateCompatibleDC((HDC) NULL);
   m_ok = (m_hDC != 0);
   m_bOwnsDC = TRUE;