Fixed minor typos in comments and strings in propgrid sample.
This commit is contained in:
@@ -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")) );
|
||||||
|
@@ -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)
|
||||||
|
Reference in New Issue
Block a user