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:
@@ -1704,7 +1704,7 @@ wxString MyFrame::GetIntroText()
|
||||
"<li>Native, dockable floating frames</li>"
|
||||
"<li>Perspective saving and loading</li>"
|
||||
"<li>Native toolbars incorporating real-time, "spring-loaded" dragging</li>"
|
||||
"<li>Customizable floating/docking behavior</li>"
|
||||
"<li>Customizable floating/docking behaviour</li>"
|
||||
"<li>Completely customizable look-and-feel</li>"
|
||||
"<li>Optional transparent window effects (while dragging or docking)</li>"
|
||||
"<li>Splittable notebook control</li>"
|
||||
|
@@ -322,7 +322,7 @@ void MyFrame::OnPaint(wxPaintEvent& WXUNUSED(event))
|
||||
|
||||
MyApp::MyApp()
|
||||
{
|
||||
// user needs to explicitely enable this
|
||||
// user needs to explicitly enable this
|
||||
m_uploadReport = false;
|
||||
|
||||
// call this to tell the library to call our OnFatalException()
|
||||
|
@@ -32,7 +32,7 @@ act as modifiers: keeping down the <Ctrl> key at the moment of drop does
|
||||
There are several objects participating in a d&d operation. First of all,
|
||||
there is the data object itself. Second, there is the drop source which is
|
||||
responsible for creating the data object (if it doesn't exist yet) and starting
|
||||
the d&d operation. Finally, the drop target recieves the notification when
|
||||
the d&d operation. Finally, the drop target receives the notification when
|
||||
the data is dropped onto the associated window (see below) and is responsible
|
||||
for pasting the data and returning the result code (copy, move or failure).
|
||||
There is one class for each one of these roles in wxWindows d&d implementation,
|
||||
|
@@ -398,7 +398,7 @@ void MyFrame::OnPlay(wxCommandEvent& WXUNUSED(event))
|
||||
str = wxGetTranslation(wxTRANSLATE("Bad luck! try again..."));
|
||||
|
||||
// note also that if we want 'str' to contain a localized string
|
||||
// we need to use wxGetTranslation explicitely as wxTRANSLATE just
|
||||
// we need to use wxGetTranslation explicitly as wxTRANSLATE just
|
||||
// tells xgettext to extract the string but has no effect on the
|
||||
// runtime of the program!
|
||||
}
|
||||
|
@@ -404,7 +404,7 @@ const wxChar* wxGetMediaStateText(int nState)
|
||||
//
|
||||
// IMPLEMENT_APP does this, and also implements the platform-specific entry
|
||||
// routine, such as main or WinMain(). Use IMPLEMENT_APP_NO_MAIN if you do
|
||||
// not desire this behavior.
|
||||
// not desire this behaviour.
|
||||
// ----------------------------------------------------------------------------
|
||||
IMPLEMENT_APP(wxMediaPlayerApp)
|
||||
|
||||
|
@@ -708,7 +708,7 @@ void MyFrame::OnInsertMenu(wxCommandEvent& WXUNUSED(event))
|
||||
wxString title;
|
||||
wxMenu *menu = CreateDummyMenu(&title);
|
||||
// Insert before the 'Help' menu
|
||||
// Othewise repeated Deletes will remove the 'Test' menu
|
||||
// Otherwise repeated Deletes will remove the 'Test' menu
|
||||
GetMenuBar()->Insert(4, menu, title);
|
||||
}
|
||||
|
||||
|
@@ -210,7 +210,7 @@ void TestGLCanvas::LoadSurface(const wxString& filename)
|
||||
|
||||
{
|
||||
// we suppose to have in input a text file containing floating numbers
|
||||
// space/newline-separed... first 3 numbers are the coordinates of a
|
||||
// space/newline-separated... first 3 numbers are the coordinates of a
|
||||
// vertex and the following 3 are the relative vertex normal and so on...
|
||||
|
||||
wxTextInputStream inFile(*stream);
|
||||
|
@@ -642,7 +642,7 @@ void MyPrintout::DrawPageTwo()
|
||||
int ppiPrinterX, ppiPrinterY;
|
||||
GetPPIPrinter(&ppiPrinterX, &ppiPrinterY);
|
||||
|
||||
// This scales the DC so that the printout roughly represents the the screen
|
||||
// This scales the DC so that the printout roughly represents the screen
|
||||
// scaling. The text point size _should_ be the right size but in fact is
|
||||
// too small for some reason. This is a detail that will need to be
|
||||
// addressed at some point but can be fudged for the moment.
|
||||
|
@@ -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 );
|
||||
|
||||
|
@@ -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.
|
||||
|
@@ -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 )
|
||||
|
@@ -486,7 +486,7 @@ void BitmapComboBoxWidgetsPage::CreateCombo()
|
||||
m_sizerCombo->Add(m_combobox, 0, wxGROW | wxALL, 5);
|
||||
m_sizerCombo->Layout();
|
||||
|
||||
// Allow changing height inorder to demonstrate flexible
|
||||
// Allow changing height in order to demonstrate flexible
|
||||
// size of image "thumbnail" painted in the control itself.
|
||||
long h = 0;
|
||||
m_textChangeHeight->GetValue().ToLong(&h);
|
||||
|
@@ -44,7 +44,7 @@
|
||||
|
||||
class ClassListDialog: public wxDialog
|
||||
{
|
||||
// we explicitely don't want to use the following macro:
|
||||
// we explicitly don't want to use the following macro:
|
||||
// DECLARE_DYNAMIC_CLASS( ClassListDialog )
|
||||
// as otherwise the ClassListDialog class would appear in the list
|
||||
// shown by this dialog!
|
||||
|
Reference in New Issue
Block a user