Fixed various typos.
Applied patch by snowleopard2 fixing a bunch of typos such as misspellings and double words in the documentation. Combined the patch with some local queued typos waiting to be committed as well as adding new typo fixes inspired by the patch. Function names with American spelling were not changed nor was third-party code touched. The only code changes involve some changes in strings that are translated ("Can not" -> "Cannot"). Closes #13063 (again). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1296,7 +1296,7 @@ bool wxToolBar::MSWCommand(WXUINT WXUNUSED(cmd), WXWORD id_)
|
||||
// Without the two lines of code below, if the toolbar was repainted during
|
||||
// OnLeftClick(), then it could end up without the tool bitmap temporarily
|
||||
// (see http://lists.nongnu.org/archive/html/lmi/2008-10/msg00014.html).
|
||||
// The Update() call bellow ensures that this won't happen, by repainting
|
||||
// The Update() call below ensures that this won't happen, by repainting
|
||||
// invalidated areas of the toolbar immediately.
|
||||
//
|
||||
// To complicate matters, the tool would be drawn in depressed state (this
|
||||
@@ -1323,7 +1323,7 @@ bool wxToolBar::MSWCommand(WXUINT WXUNUSED(cmd), WXWORD id_)
|
||||
::SendMessage(GetHwnd(), TB_SETSTATE, id, MAKELONG(state, 0));
|
||||
|
||||
// OnLeftClick() can veto the button state change - for buttons which
|
||||
// may be toggled only, of couse
|
||||
// may be toggled only, of course.
|
||||
if ( !allowLeftClick && tool->CanBeToggled() )
|
||||
{
|
||||
// revert back
|
||||
|
Reference in New Issue
Block a user