Update printing sample to compile again after r68026.

The sample was using Initialize() overload that doesn't exist any longer, use
InitializeWithModality() instead.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2011-06-23 08:02:12 +00:00
parent ab2ef6e0e6
commit 5d4c2acaca

View File

@@ -410,7 +410,7 @@ void MyFrame::OnPrintPreview(wxCommandEvent& WXUNUSED(event))
wxPreviewFrame *frame =
new wxPreviewFrame(preview, this, wxT("Demo Print Preview"), wxPoint(100, 100), wxSize(600, 650));
frame->Centre(wxBOTH);
frame->Initialize(m_previewModality);
frame->InitializeWithModality(m_previewModality);
frame->Show();
}