]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/themes/win32.cpp
reversed some parts of wxGetKeyState for linkage reasons...
[wxWidgets.git] / src / univ / themes / win32.cpp
index 6edcca086271cf5188ed96c7e98472cfec37db16..24e9cd5eb8818f98793cf7237449a22c40b569b9 100644 (file)
@@ -1330,7 +1330,7 @@ wxColour wxWin32ColourScheme::GetBackground(wxWindow *win) const
         col = win->GetBackgroundColour();
     }
 
-    if ( win->IsContainerWindow() )
+    if ( !win->ShouldInheritColours() )
     {
         wxTextCtrl *text = wxDynamicCast(win, wxTextCtrl);
         if ( text )
@@ -3598,7 +3598,6 @@ void wxWin32Renderer::DrawFrameTitleBar(wxDC& dc,
             DrawFrameButton(dc, x, y, wxTOPLEVEL_BUTTON_HELP,
                             (specialButton == wxTOPLEVEL_BUTTON_HELP) ?
                             specialButtonFlags : 0);
-            x -= FRAME_BUTTON_WIDTH;
         }
     }
 }