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
This commit is contained in:
Stefan Neis
2013-01-27 14:30:52 +00:00
parent ab6b186064
commit 8d598997ef
4 changed files with 4 additions and 4 deletions

View File

@@ -1457,7 +1457,7 @@ void wxRibbonMSWArtProvider::DrawPartialPageBackground(wxDC& dc,
page->AdjustRectToIncludeScrollButtons(&background); page->AdjustRectToIncludeScrollButtons(&background);
background.height -= 2; 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 // (at least not the part of it intended to be painted by this
// function). Set to wider than the page itself for when externally // function). Set to wider than the page itself for when externally
// expanded panels need a background - the expanded panel can be wider // expanded panels need a background - the expanded panel can be wider

View File

@@ -945,7 +945,7 @@ bool wxRibbonButtonBar::TryCollapseLayout(wxRibbonButtonBarLayout* original,
// If height isn't preserved (i.e. it is reduced), then the minimum // If height isn't preserved (i.e. it is reduced), then the minimum
// size for the button bar will decrease, preventing the original // size for the button bar will decrease, preventing the original
// layout from being used (in some cases). // 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. // it is only done when the first button is involved in a collapse.
preserve_height = true; preserve_height = true;
} }

View File

@@ -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. // 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, // 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 // 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) if(GetMajorAxis() == wxHORIZONTAL)
{ {

View File

@@ -936,7 +936,7 @@ void wxRibbonPanel::OnChildKillFocus(wxFocusEvent& evt)
HideExpanded(); HideExpanded();
// Do not skip event, as the panel has been de-expanded, causing the // Do not skip event, as the panel has been de-expanded, causing the
// child with focus to be reparented (and hidden). If the event // child with focus to be reparented (and hidden). If the event
// continues propogation then bad things happen. // continues propagation then bad things happen.
} }
else else
{ {