X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0e1ead0ef2e7eea4cfde028aeb0b293d9f3e258f..52d802ebb80982e9541aac3c4f7ba91aec503425:/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;