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:
@@ -1954,7 +1954,7 @@ For example:
|
|||||||
int answer = wxMessageBox("Quit program?", "Confirm",
|
int answer = wxMessageBox("Quit program?", "Confirm",
|
||||||
wxYES_NO | wxCANCEL, main_frame);
|
wxYES_NO | wxCANCEL, main_frame);
|
||||||
if (answer == wxYES)
|
if (answer == wxYES)
|
||||||
delete main_frame;
|
main_frame->Close();
|
||||||
...
|
...
|
||||||
\end{verbatim}
|
\end{verbatim}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user