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))
 | 
			
		||||
{
 | 
			
		||||
    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;
 | 
			
		||||
 
 | 
			
		||||
@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user