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:
parent
8b0f8432d7
commit
933b675ed4
@ -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}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user