X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bd9396d52dc2118f2f527ecea55271e79a893ed4..34bbbc276dc470014c8d200cfbbf7f588076aeaf:/utils/framelayout/src/toolwnd.cpp diff --git a/utils/framelayout/src/toolwnd.cpp b/utils/framelayout/src/toolwnd.cpp index 2cb14b99f0..ce78b52c6e 100644 --- a/utils/framelayout/src/toolwnd.cpp +++ b/utils/framelayout/src/toolwnd.cpp @@ -160,6 +160,7 @@ void wxToolWindow::AddMiniButton( cbMiniButton* pBtn ) void wxToolWindow::OnPaint( wxPaintEvent& event ) { + wxPaintDC pdc( this ); wxWindowDC dc( this ); int w,h;