]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/printmac.cpp
Always use XPMs in this sample
[wxWidgets.git] / src / mac / carbon / printmac.cpp
index 487123bad05789946a2f38482297635d1bf4b00a..97e496f6002fc091a3a06ad35d54e010caa37892 100644 (file)
@@ -555,7 +555,7 @@ bool wxMacPrinter::Print(wxWindow *parent, wxPrintout *printout, bool prompt)
         if (dialog.ShowModal() == wxID_OK)
         {
             dc = dialog.GetPrintDC();
         if (dialog.ShowModal() == wxID_OK)
         {
             dc = dialog.GetPrintDC();
-            m_printDialogData = dialog.GetPrintData();
+            m_printDialogData = dialog.GetPrintDialogData();
         }
     }
     else
         }
     }
     else