X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e40298d54ecd5b109222a7c60aa2ef084a304d69..f7f78039d2e18114efdec0abe46dc4ed2d4529a8:/src/mac/printdlg.cpp diff --git a/src/mac/printdlg.cpp b/src/mac/printdlg.cpp index 779ee74edd..20bf8dedc7 100644 --- a/src/mac/printdlg.cpp +++ b/src/mac/printdlg.cpp @@ -97,8 +97,8 @@ int wxPrintDialog::ShowModal() } else { - message.Printf( "Print Error %d", err ) ; - wxMessageDialog dialog( NULL , message , "", wxICON_HAND | wxOK) ; + message.Printf( wxT("Print Error %d"), err ) ; + wxMessageDialog dialog( NULL , message , wxT(""), wxICON_HAND | wxOK) ; dialog.ShowModal(); } ::UMAPrClose(NULL) ; @@ -179,8 +179,8 @@ int wxPrintDialog::ShowModal() } if ((err != noErr) && (err != kPMCancel)) { - message.Printf( "Print Error %d", err ) ; - wxMessageDialog dialog( NULL , message , "", wxICON_HAND | wxOK) ; + message.Printf( wxT("Print Error %d"), err ) ; + wxMessageDialog dialog( NULL , message , wxEmptyString, wxICON_HAND | wxOK) ; dialog.ShowModal(); } #else @@ -245,8 +245,8 @@ int wxPageSetupDialog::ShowModal() } else { - message.Printf( "Print Error %d", err ) ; - wxMessageDialog dialog( NULL , message , "", wxICON_HAND | wxOK) ; + message.Printf( wxT("Print Error %d"), err ) ; + wxMessageDialog dialog( NULL , message , wxEmptyString , wxICON_HAND | wxOK) ; dialog.ShowModal(); } ::UMAPrClose(NULL) ; @@ -301,8 +301,8 @@ int wxPageSetupDialog::ShowModal() } if ((err != noErr) && (err != kPMCancel)) { - message.Printf( "Print Error %d", err ) ; - wxMessageDialog dialog( NULL , message , "", wxICON_HAND | wxOK) ; + message.Printf( wxT("Print Error %d"), err ) ; + wxMessageDialog dialog( NULL , message , wxEmptyString, wxICON_HAND | wxOK) ; dialog.ShowModal(); } #else