fixed warnings about assigning literal strings to char *

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-06-11 22:21:42 +00:00
parent 75240db295
commit 973e686595

View File

@@ -1745,7 +1745,7 @@ bool wxPostScriptDC::StartDoc( const wxString& message )
// fprintf( m_pstream, "%%%%Pages: %d\n", (wxPageNumber - 1) );
char *paper = "A4";
const char *paper;
switch (m_printData.GetPaperId())
{
case wxPAPER_LETTER: paper = "Letter"; break; // Letter: paper ""; 8 1/2 by 11 inches