]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/prntdlgg.cpp
Compile fix for wxDataFormat cast,
[wxWidgets.git] / src / generic / prntdlgg.cpp
index 53fa919d262ed565b6187e8dfaaca20594ac2d11..df57a25ad4066ffe277df4f1aab7d08e78b4274f 100644 (file)
@@ -274,7 +274,7 @@ void wxGenericPrintDialog::OnOK(wxCommandEvent& WXUNUSED(event))
         wxString f = wxFileSelector(_("PostScript file"),
             wxPathOnly(wxThePrintSetupData->GetPrinterFile()),
             wxFileNameFromPath(wxThePrintSetupData->GetPrinterFile()),
         wxString f = wxFileSelector(_("PostScript file"),
             wxPathOnly(wxThePrintSetupData->GetPrinterFile()),
             wxFileNameFromPath(wxThePrintSetupData->GetPrinterFile()),
-            _T("ps"), _T("*.ps"), 0, this);
+            wxT("ps"), wxT("*.ps"), 0, this);
         if ( f.IsEmpty() )
             return;
 
         if ( f.IsEmpty() )
             return;