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:
Dimitri Schoolwerth
2011-03-22 14:17:38 +00:00
parent 57ab6f2314
commit 4c51a665c6
265 changed files with 817 additions and 807 deletions

View File

@@ -650,7 +650,7 @@ void FormMain::OnPropertyGridChanging( wxPropertyGridEvent& event )
event.Veto();
// Since we ask a question, it is better if we omit any validation
// failure behavior.
// failure behaviour.
event.SetValidationFailureBehavior(0);
}
}
@@ -1098,7 +1098,7 @@ void FormMain::PopulateWithStandardItems ()
pg->SetPropertyAttribute(wxT("Y"), wxPG_ATTR_UNITS, wxT("Pixels") );
pg->SetPropertyHelpString(wxT("Y"), wxT("This property uses \"Units\" attribute.") );
const wxChar* disabledHelpString = wxT("This property is simply disabled. Inorder to have label disabled as well, ")
const wxChar* disabledHelpString = wxT("This property is simply disabled. In order to have label disabled as well, ")
wxT("you need to set wxPG_EX_GREY_LABEL_WHEN_DISABLED using SetExtraStyle.");
pg->Append( new wxPropertyCategory(wxT("Environment"),wxPG_LABEL) );
@@ -1932,7 +1932,7 @@ void FormMain::CreateGrid( int style, int extraStyle )
pgman->SetExtraStyle(extraStyle);
// This is the default validation failure behavior
// This is the default validation failure behaviour
m_pPropGridManager->SetValidationFailureBehavior( wxPG_VFB_MARK_CELL |
wxPG_VFB_SHOW_MESSAGEBOX );

View File

@@ -29,7 +29,7 @@ public:
void OnSetValue();
// Inorder to have different value type in a derived property
// In order to have different value type in a derived property
// class, we will override GetValue to return custom variant,
// instead of changing the base m_value. This allows the methods
// in base class to function properly.

View File

@@ -1392,7 +1392,7 @@ bool FormMain::RunTests( bool fullTest, bool interactive )
s = wxString::Format(wxT("%i tests failed!!!"), failures);
#ifdef __WXDEBUG__
else
s = wxString::Format(wxT("All tests were succesfull, but there were %i warnings!"), wxPGGlobalVars->m_warnings);
s = wxString::Format(wxT("All tests were successfull, but there were %i warnings!"), wxPGGlobalVars->m_warnings);
#endif
RT_MSG(s)
for ( i=0; i<errorMessages.size(); i++ )
@@ -1401,7 +1401,7 @@ bool FormMain::RunTests( bool fullTest, bool interactive )
}
else
{
RT_MSG(wxT("All tests succesfull"))
RT_MSG(wxT("All tests successfull"))
retVal = true;
if ( !interactive )