Fixed minor typos in comments and strings in propgrid sample.

This commit is contained in:
Artur Wieczorek
2015-06-13 22:28:28 +02:00
parent e4023cccc1
commit 8ff74b727a
2 changed files with 4 additions and 4 deletions

View File

@@ -1013,7 +1013,7 @@ static const long _fs_framestyle_values[] = {
void FormMain::OnTestXRC(wxCommandEvent& WXUNUSED(event)) void FormMain::OnTestXRC(wxCommandEvent& WXUNUSED(event))
{ {
wxMessageBox(wxT("Sorrt, not yet implemented")); wxMessageBox(wxT("Sorry, not yet implemented"));
} }
void FormMain::OnEnableCommonValues(wxCommandEvent& WXUNUSED(event)) 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 // Add string property with arbitrarily wide bitmap in front of it. We
// intentionally lower-than-typical row height here so that the ugly // 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"), pg->Append( new wxStringProperty( wxT("StringPropertyWithBitmap"),
wxPG_LABEL, wxPG_LABEL,
wxT("Test Text")) ); wxT("Test Text")) );

View File

@@ -497,7 +497,7 @@ wxArrayDoubleProperty::wxArrayDoubleProperty (const wxString& label,
// //
// Need to figure out delimiter needed for this locale // 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(','); wxChar use_delimiter = wxT(',');
if (wxString::Format(wxT("%.2f"),12.34).Find(use_delimiter) >= 0) if (wxString::Format(wxT("%.2f"),12.34).Find(use_delimiter) >= 0)