corrected the example of wxMessageBox() usage

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2003-09-18 11:10:51 +00:00
parent 8b0f8432d7
commit 933b675ed4

View File

@ -1954,7 +1954,7 @@ For example:
int answer = wxMessageBox("Quit program?", "Confirm",
wxYES_NO | wxCANCEL, main_frame);
if (answer == wxYES)
delete main_frame;
main_frame->Close();
...
\end{verbatim}