From: Stefan Neis Date: Sun, 27 Jan 2013 14:30:52 +0000 (+0000) Subject: Just some spelling fixes, no real changes. Closes #15001. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8d598997ef881c925f33c07d9f80f34d9b8b0159 Just some spelling fixes, no real changes. Closes #15001. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/ribbon/art_msw.cpp b/src/ribbon/art_msw.cpp index 3d4dcaeaa6..ff4471d007 100644 --- a/src/ribbon/art_msw.cpp +++ b/src/ribbon/art_msw.cpp @@ -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 diff --git a/src/ribbon/buttonbar.cpp b/src/ribbon/buttonbar.cpp index 5dcb021491..7e2b3bc43a 100644 --- a/src/ribbon/buttonbar.cpp +++ b/src/ribbon/buttonbar.cpp @@ -945,7 +945,7 @@ bool wxRibbonButtonBar::TryCollapseLayout(wxRibbonButtonBarLayout* original, // If height isn't preserved (i.e. it is reduced), then the minimum // size for the button bar will decrease, preventing the original // layout from being used (in some cases). - // It may be a good idea to always preverse the height, but for now + // It may be a good idea to always preserve the height, but for now // it is only done when the first button is involved in a collapse. preserve_height = true; } diff --git a/src/ribbon/page.cpp b/src/ribbon/page.cpp index 4a6a534bbb..0fecb1c0a2 100644 --- a/src/ribbon/page.cpp +++ b/src/ribbon/page.cpp @@ -383,7 +383,7 @@ void wxRibbonPage::DoSetSize(int x, int y, int width, int height, int sizeFlags) // When a resize triggers the scroll buttons to become visible, the page is resized. // This resize from within a resize event can cause (MSW) wxWidgets some confusion, // and report the 1st size to the 2nd size event. Hence the most recent size is - // remembered internally and used in Layout() where appropiate. + // remembered internally and used in Layout() where appropriate. if(GetMajorAxis() == wxHORIZONTAL) { diff --git a/src/ribbon/panel.cpp b/src/ribbon/panel.cpp index 341661f41f..0a0f8d8a27 100644 --- a/src/ribbon/panel.cpp +++ b/src/ribbon/panel.cpp @@ -936,7 +936,7 @@ void wxRibbonPanel::OnChildKillFocus(wxFocusEvent& evt) HideExpanded(); // Do not skip event, as the panel has been de-expanded, causing the // child with focus to be reparented (and hidden). If the event - // continues propogation then bad things happen. + // continues propagation then bad things happen. } else {