X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..af79064d318dc0858af706d0d1b4569e24a612c4:/include/wx/dcbuffer.h diff --git a/include/wx/dcbuffer.h b/include/wx/dcbuffer.h index 1b5d728020..9cd95e0ac3 100644 --- a/include/wx/dcbuffer.h +++ b/include/wx/dcbuffer.h @@ -14,7 +14,7 @@ #include "wx/dcmemory.h" #include "wx/dcclient.h" - +#include "wx/window.h" // ---------------------------------------------------------------------------- // Double buffering helper. @@ -124,7 +124,7 @@ public: : m_paintdc(window) { window->PrepareDC( m_paintdc ); - + if( buffer != wxNullBitmap ) Init(&m_paintdc, buffer); else