]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/dcclient.cpp
New Makefile/Setup files supporting multiple dynamic extension modules
[wxWidgets.git] / src / gtk1 / dcclient.cpp
index 0df1276c4b5837d1d56e9dc23e0bc7277d0ae136..cbfcc44f33ee573a40f9468851dc6b27239ef7a3 100644 (file)
@@ -1057,10 +1057,10 @@ void wxWindowDC::SetBackground( const wxBrush &brush )
   
     if ((m_backgroundBrush.GetStyle() == wxSTIPPLE) && (m_backgroundBrush.GetStipple()->Ok()))
     {
-        if (m_brush.GetStipple()->GetPixmap())
-            gdk_gc_set_tile( m_bgGC, m_brush.GetStipple()->GetPixmap() );
+        if (m_backgroundBrush.GetStipple()->GetPixmap())
+            gdk_gc_set_tile( m_bgGC, m_backgroundBrush.GetStipple()->GetPixmap() );
         else
-            gdk_gc_set_stipple( m_bgGC, m_brush.GetStipple()->GetBitmap() );
+            gdk_gc_set_stipple( m_bgGC, m_backgroundBrush.GetStipple()->GetBitmap() );
     }
   
     if (IS_HATCH(m_backgroundBrush.GetStyle()))