X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7775e41fd7da98d2b3af5b545d66b1efe10a4069..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