From 54a7425b81a907c9cc808146551e5e855edd39b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?W=C5=82odzimierz=20Skiba?= Date: Wed, 7 Jun 2006 13:57:10 +0000 Subject: [PATCH] Minor source cleaning. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/prntdlgg.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/generic/prntdlgg.cpp b/src/generic/prntdlgg.cpp index 9d5bb3541c..3929a0e107 100644 --- a/src/generic/prntdlgg.cpp +++ b/src/generic/prntdlgg.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: prntdlgg.cpp +// Name: src/generic/prntdlgg.cpp // Purpose: Generic print dialogs // Author: Julian Smart // Modified by: @@ -43,7 +43,7 @@ #endif #if wxUSE_STATLINE - #include "wx/statline.h" + #include "wx/statline.h" #endif #include "wx/generic/prntdlgg.h" @@ -536,8 +536,8 @@ void wxGenericPrintSetupDialog::Init(wxPrintData* data) if (tmp != wxT("for")) break; // the lpstat syntax must have changed. tmp = tok.GetNextToken(); // "hp_deskjet930c:" - if (tmp[tmp.Len()-1] == wxT(':')) - tmp.Remove(tmp.Len()-1,1); + if (tmp[tmp.length()-1] == wxT(':')) + tmp.Remove(tmp.length()-1,1); wxString name = tmp; item.SetText( name ); item.SetId( m_printerListCtrl->InsertItem( item ) ); @@ -566,7 +566,7 @@ void wxGenericPrintSetupDialog::Init(wxPrintData* data) tmp = output2[0]; // "printer hp_deskjet930c is idle. enable since ..." int pos = tmp.Find( wxT('.') ); if (pos != wxNOT_FOUND) - tmp.Remove( (size_t)pos, tmp.Len()-(size_t)pos ); + tmp.Remove( (size_t)pos, tmp.length()-(size_t)pos ); wxStringTokenizer tok2( tmp, wxT(" ") ); tmp = tok2.GetNextToken(); // "printer" tmp = tok2.GetNextToken(); // "hp_deskjet930c" @@ -1097,4 +1097,3 @@ void wxGenericPageSetupDialog::OnPrinter(wxCommandEvent& WXUNUSED(event)) } #endif -