]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/framelayout/src/toolwnd.cpp
fixed a canonical example of Stupid Bug(tm)
[wxWidgets.git] / utils / framelayout / src / toolwnd.cpp
index 2cb14b99f0ca23e20e9f64b498a3ca311b81b014..ce78b52c6efc8e665ecd1fca819e9a4b54435abf 100644 (file)
@@ -160,6 +160,7 @@ void wxToolWindow::AddMiniButton( cbMiniButton* pBtn )
 
 void wxToolWindow::OnPaint( wxPaintEvent& event )
 {
+    wxPaintDC pdc( this );
        wxWindowDC dc( this );
 
        int w,h;