]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/printwin.cpp
#include "wx/settings.h" wxSystemSettings is needed by non-OSX code.
[wxWidgets.git] / src / msw / printwin.cpp
index 451fbd99e7d0ed5fa20028585420319564db29aa..59e6624042370f3d1a79f5817cf2f33c81622472 100644 (file)
@@ -308,6 +308,8 @@ wxDC* wxWindowsPrinter::PrintDialog(wxWindow *parent)
 
 bool wxWindowsPrinter::Setup(wxWindow *parent)
 {
+#if 0
+    // We no longer expose that dialog
     wxPrintDialog dialog(parent, & m_printDialogData);
     dialog.GetPrintDialogData().SetSetupDialog(true);
 
@@ -319,6 +321,9 @@ bool wxWindowsPrinter::Setup(wxWindow *parent)
     }
 
     return (ret == wxID_OK);
+#else
+    return wxID_CANCEL;
+#endif
 }
 
 /*