X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e3e65dac0c4e7ad19e3c270caa1e0eea138e5d8d..d93f63db9d836a7d303343e60fb034dc9a1360d0:/src/gtk1/dcclient.cpp diff --git a/src/gtk1/dcclient.cpp b/src/gtk1/dcclient.cpp index 0352e5eb13..520eaa7036 100644 --- a/src/gtk1/dcclient.cpp +++ b/src/gtk1/dcclient.cpp @@ -545,7 +545,7 @@ void wxPaintDC::Clear(void) { if (!Ok()) return; - DestroyClippingRegion(); +// DestroyClippingRegion(); if (m_isDrawable) { @@ -556,7 +556,7 @@ void wxPaintDC::Clear(void) int width = 0; int height = 0; GetSize( &width, &height ); - gdk_draw_rectangle( m_window, m_brushGC, TRUE, 0, 0, width, height ); + gdk_draw_rectangle( m_window, m_bgGC, TRUE, 0, 0, width, height ); }; };