X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/16553659df1a8fee8b19cc9a8ff8321711fe983c..eeccd5d94ce6b11f36af95db4ac528a2e2e0c4c5:/src/msw/dcmemory.cpp?ds=sidebyside diff --git a/src/msw/dcmemory.cpp b/src/msw/dcmemory.cpp index d94a70b75c..dd76ffcd3a 100644 --- a/src/msw/dcmemory.cpp +++ b/src/msw/dcmemory.cpp @@ -21,6 +21,7 @@ #endif #ifndef WX_PRECOMP +#include "wx/utils.h" #endif #include "wx/dcmemory.h" @@ -38,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;