X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/81152407d0a131519e61fdedf2634b9bc49e0ce8..ab6ea1ac2f52ecc7e60aae5f4e8f53585d817920:/samples/richedit/wxLayout.cpp diff --git a/samples/richedit/wxLayout.cpp b/samples/richedit/wxLayout.cpp index 183c9e59c6..cdb8016177 100644 --- a/samples/richedit/wxLayout.cpp +++ b/samples/richedit/wxLayout.cpp @@ -7,10 +7,6 @@ * */ -#ifdef __GNUG__ -#pragma implementation "wxLayout.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ # pragma hdrstop @@ -78,7 +74,7 @@ MyFrame::MyFrame() : { #if wxUSE_STATUSBAR CreateStatusBar( 2 ); - SetStatusText( _T("wxLayout by Karsten Ballüder.") ); + SetStatusText( _T("wxLayout by Karsten Ballueder.") ); #endif // wxUSE_STATUSBAR wxMenuBar *menu_bar = new wxMenuBar(); @@ -519,7 +515,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 +524,7 @@ void MyFrame::OnPageSetup(wxCommandEvent& WXUNUSED(event)) #endif pageSetupDialog.ShowModal(); - data = pageSetupDialog.GetPageSetupData(); + data = pageSetupDialog.GetPageSetupDialogData(); } void MyFrame::OnPrintSetupPS(wxCommandEvent& WXUNUSED(event))