Removal of deprecated methods.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba 2004-07-13 13:13:29 +00:00
parent 16640ba226
commit a61fea4144

View File

@ -90,15 +90,13 @@ void MyFrame::OnQuit(wxCommandEvent& WXUNUSED(event))
void MyFrame::OnTest1(wxCommandEvent& WXUNUSED(event))
{
#if ( defined(__WXOS2__) || defined(__WXMSW__) ) && !defined(__WXUNIVERSAL__)
MyDialog *dialog = new MyDialog;
if (dialog->LoadNativeDialog(this, _T("dialog1")))
{
dialog->SetModal(true);
dialog->ShowModal();
}
dialog->Close(true);
MyDialog dialog;
if (dialog.LoadNativeDialog(this, _T("dialog1")))
{
dialog.ShowModal();
}
#else
wxMessageBox(_T("No native dialog support"),_T("Platform limitation"));
wxMessageBox(_T("No native dialog support"),_T("Platform limitation"));
#endif
}