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
wxPreviewFrame *frame =
new wxPreviewFrame(preview, this, wxT("Demo Print Preview"), wxPoint(100, 100), wxSize(600, 650));
frame->Centre(wxBOTH);
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);