From 8ff74b727a54f85a779956f507aa93719f64174c Mon Sep 17 00:00:00 2001 From: Artur Wieczorek Date: Sat, 13 Jun 2015 22:28:28 +0200 Subject: [PATCH] Fixed minor typos in comments and strings in propgrid sample. --- samples/propgrid/propgrid.cpp | 6 +++--- samples/propgrid/sampleprops.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/samples/propgrid/propgrid.cpp b/samples/propgrid/propgrid.cpp index c4ab0924e8..b21d978911 100644 --- a/samples/propgrid/propgrid.cpp +++ b/samples/propgrid/propgrid.cpp @@ -1013,7 +1013,7 @@ static const long _fs_framestyle_values[] = { void FormMain::OnTestXRC(wxCommandEvent& WXUNUSED(event)) { - wxMessageBox(wxT("Sorrt, not yet implemented")); + wxMessageBox(wxT("Sorry, not yet implemented")); } void FormMain::OnEnableCommonValues(wxCommandEvent& WXUNUSED(event)) @@ -1384,7 +1384,7 @@ void FormMain::PopulateWithExamples () // Add string property with arbitrarily wide bitmap in front of it. We // intentionally lower-than-typical row height here so that the ugly - // scaling code wont't be run. + // scaling code won't be run. pg->Append( new wxStringProperty( wxT("StringPropertyWithBitmap"), wxPG_LABEL, wxT("Test Text")) ); @@ -2015,7 +2015,7 @@ FormMain::FormMain(const wxString& title, const wxPoint& pos, const wxSize& size ); // - // Create menubar + // Create menu bar wxMenu *menuFile = new wxMenu(wxEmptyString, wxMENU_TEAROFF); wxMenu *menuTry = new wxMenu; wxMenu *menuTools1 = new wxMenu; diff --git a/samples/propgrid/sampleprops.cpp b/samples/propgrid/sampleprops.cpp index 56231ed112..151f91dc16 100644 --- a/samples/propgrid/sampleprops.cpp +++ b/samples/propgrid/sampleprops.cpp @@ -497,7 +497,7 @@ wxArrayDoubleProperty::wxArrayDoubleProperty (const wxString& label, // // Need to figure out delimiter needed for this locale - // (ie. can't use comma when comma acts as decimal point in float). + // (i.e. can't use comma when comma acts as decimal point in float). wxChar use_delimiter = wxT(','); if (wxString::Format(wxT("%.2f"),12.34).Find(use_delimiter) >= 0)