X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..1bbcb0d516a6e5578e53a821074335901ae46e3a:/include/wx/dcbuffer.h diff --git a/include/wx/dcbuffer.h b/include/wx/dcbuffer.h index 736fedf2bc..9cd95e0ac3 100644 --- a/include/wx/dcbuffer.h +++ b/include/wx/dcbuffer.h @@ -6,7 +6,7 @@ // Created: 16/03/02 // RCS-ID: $Id$ // Copyright: (c) Ron Lee -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _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