]> git.saurik.com Git - wxWidgets.git/blobdiff - src/ribbon/art_msw.cpp
Ensure there is valid context for DrawRectangle
[wxWidgets.git] / src / ribbon / art_msw.cpp
index 3d4dcaeaa69a1c38412a299cafa2b30049d60a3d..ff4471d007703b2bef3cebc4e594a2247626221f 100644 (file)
@@ -1457,7 +1457,7 @@ void wxRibbonMSWArtProvider::DrawPartialPageBackground(wxDC& dc,
         page->AdjustRectToIncludeScrollButtons(&background);
         background.height -= 2;
     }
-    // Page background isn't dependant upon the width of the page
+    // Page background isn't dependent upon the width of the page
     // (at least not the part of it intended to be painted by this
     // function). Set to wider than the page itself for when externally
     // expanded panels need a background - the expanded panel can be wider