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:
		@@ -410,7 +410,7 @@ void MyFrame::OnPrintPreview(wxCommandEvent& WXUNUSED(event))
 | 
				
			|||||||
    wxPreviewFrame *frame =
 | 
					    wxPreviewFrame *frame =
 | 
				
			||||||
        new wxPreviewFrame(preview, this, wxT("Demo Print Preview"), wxPoint(100, 100), wxSize(600, 650));
 | 
					        new wxPreviewFrame(preview, this, wxT("Demo Print Preview"), wxPoint(100, 100), wxSize(600, 650));
 | 
				
			||||||
    frame->Centre(wxBOTH);
 | 
					    frame->Centre(wxBOTH);
 | 
				
			||||||
    frame->Initialize(m_previewModality);
 | 
					    frame->InitializeWithModality(m_previewModality);
 | 
				
			||||||
    frame->Show();
 | 
					    frame->Show();
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user