]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/prntdlgg.cpp
fixed (rare but fatal) bug in wxWindowDisabler
[wxWidgets.git] / src / generic / prntdlgg.cpp
index 53fa919d262ed565b6187e8dfaaca20594ac2d11..2458e8729aa5ffa93db0b13fad3e0f8e900b9c6b 100644 (file)
@@ -46,7 +46,7 @@
     #include "wx/filedlg.h"
     #include "wx/choice.h"
     #include "wx/combobox.h"
-    #include <wx/intl.h>
+    #include "wx/intl.h"
     #include "wx/sizer.h"
 #endif
 
@@ -73,7 +73,6 @@
 // wxWin macros
 // ----------------------------------------------------------------------------
 
-#if !USE_SHARED_LIBRARY
 
 #if wxUSE_POSTSCRIPT
 
@@ -92,7 +91,6 @@
     BEGIN_EVENT_TABLE(wxGenericPageSetupDialog, wxDialog)
         EVT_BUTTON(wxPRINTID_SETUP, wxGenericPageSetupDialog::OnPrinter)
     END_EVENT_TABLE()
-#endif // USE_SHARED_LIBRARY
 
 // ----------------------------------------------------------------------------
 // global vars
@@ -274,7 +272,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;