X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/96ed08f775635ccf57ef797008b05427dfaabcc3..61c213fe224da24ce33c9187263e75a17ca83a04:/samples/richedit/wxLayout.cpp diff --git a/samples/richedit/wxLayout.cpp b/samples/richedit/wxLayout.cpp index e6a46a1ea3..f20d0fb0f2 100644 --- a/samples/richedit/wxLayout.cpp +++ b/samples/richedit/wxLayout.cpp @@ -519,7 +519,7 @@ void MyFrame::OnPageSetup(wxCommandEvent& WXUNUSED(event)) #else wxGetApp().SetPrintMode(wxPRINT_POSTSCRIPT); #endif - wxPageSetupData data; + wxPageSetupDialogData data; #if defined(__WXMSW__) || defined(__WXMAC__) wxPageSetupDialog pageSetupDialog(this, & data); @@ -528,7 +528,7 @@ void MyFrame::OnPageSetup(wxCommandEvent& WXUNUSED(event)) #endif pageSetupDialog.ShowModal(); - data = pageSetupDialog.GetPageSetupData(); + data = pageSetupDialog.GetPageSetupDialogData(); } void MyFrame::OnPrintSetupPS(wxCommandEvent& WXUNUSED(event))