]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/frame.cpp
fixed background rendering if GetThemeEnabled()=true with GTK2
[wxWidgets.git] / src / gtk1 / frame.cpp
index cf32c98a83f3d9f6f3557d23a53a2f2c213be487..afe3ebd900c04a16ac8fcdd97c6af1b42e4b8042 100644 (file)
@@ -694,7 +694,7 @@ void wxFrame::SetStatusBar(wxStatusBar *statbar)
     
     wxFrameBase::SetStatusBar(statbar);
     
-    if (hadStatBar && !m_frameToolBar) 
+    if (hadStatBar && !m_frameStatusBar) 
         GtkUpdateSize();
 }