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:
@@ -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
|
||||
|
@@ -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;
|
||||
}
|
||||
|
@@ -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)
|
||||
{
|
||||
|
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user