Patch [ 584078 ] Misc samples fixes from Dimitri Schoolwerth
Addresses: printf-format warinigs indentation/style unused variable warnings used wxID_ABOUT for about menu entry removed references to "minimal sample" in other samples some other misc warinigs git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		@@ -604,7 +604,7 @@ void TextWidgetsPage::OnIdle(wxIdleEvent& WXUNUSED(event))
 | 
			
		||||
    if ( m_textLineLast )
 | 
			
		||||
    {
 | 
			
		||||
        m_textLineLast->SetValue(
 | 
			
		||||
                wxString::Format(_T("%ld"), m_text->GetNumberOfLines()));
 | 
			
		||||
                wxString::Format(_T("%d"), m_text->GetNumberOfLines()) );
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    if ( m_textSelFrom && m_textSelTo )
 | 
			
		||||
@@ -699,7 +699,7 @@ void TextWidgetsPage::OnButtonLoad(wxCommandEvent& WXUNUSED(event))
 | 
			
		||||
        else
 | 
			
		||||
        {
 | 
			
		||||
            long elapsed = sw.Time();
 | 
			
		||||
            wxLogMessage(_T("Loaded file '%s' in %u.%us"),
 | 
			
		||||
            wxLogMessage(_T("Loaded file '%s' in %lu.%us"),
 | 
			
		||||
                         filename.c_str(), elapsed / 1000, elapsed % 1000);
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user