X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7775e41fd7da98d2b3af5b545d66b1efe10a4069..e4940febd0aa35a8b70fe3244beab9604c1dd3d7:/include/wx/dcbuffer.h diff --git a/include/wx/dcbuffer.h b/include/wx/dcbuffer.h index 1b5d728020..b186d30e15 100644 --- a/include/wx/dcbuffer.h +++ b/include/wx/dcbuffer.h @@ -124,7 +124,7 @@ public: : m_paintdc(window) { window->PrepareDC( m_paintdc ); - + if( buffer != wxNullBitmap ) Init(&m_paintdc, buffer); else