X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/27ea1d8aae3055025b2ebac9d9f7e93feee7569d..0147a7c1409829913d5cdfc29d3d1588f29c64cb:/src/generic/prntdlgg.cpp?ds=sidebyside diff --git a/src/generic/prntdlgg.cpp b/src/generic/prntdlgg.cpp index 53fa919d26..28d1252159 100644 --- a/src/generic/prntdlgg.cpp +++ b/src/generic/prntdlgg.cpp @@ -28,8 +28,6 @@ #pragma hdrstop #endif -#include "wx/defs.h" - #if wxUSE_PRINTING_ARCHITECTURE #ifndef WX_PRECOMP @@ -46,7 +44,7 @@ #include "wx/filedlg.h" #include "wx/choice.h" #include "wx/combobox.h" - #include + #include "wx/intl.h" #include "wx/sizer.h" #endif @@ -73,7 +71,6 @@ // wxWin macros // ---------------------------------------------------------------------------- -#if !USE_SHARED_LIBRARY #if wxUSE_POSTSCRIPT @@ -92,7 +89,6 @@ BEGIN_EVENT_TABLE(wxGenericPageSetupDialog, wxDialog) EVT_BUTTON(wxPRINTID_SETUP, wxGenericPageSetupDialog::OnPrinter) END_EVENT_TABLE() -#endif // USE_SHARED_LIBRARY // ---------------------------------------------------------------------------- // global vars @@ -274,7 +270,7 @@ void wxGenericPrintDialog::OnOK(wxCommandEvent& WXUNUSED(event)) 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;