From: Vadim Zeitlin Date: Sat, 23 Oct 2010 18:56:06 +0000 (+0000) Subject: Correct wxDialog::SetAffirmativeId() documentation. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/814bfbb9c08b6b20c8c626f9c0dd8b1660a0b55e?ds=inline Correct wxDialog::SetAffirmativeId() documentation. The return value of ShowModal() is the affirmative id and not wxID_OK, of course. See ##11413 (specifically comment 5). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/interface/wx/dialog.h b/interface/wx/dialog.h index 69a58d43a8..65edef1430 100644 --- a/interface/wx/dialog.h +++ b/interface/wx/dialog.h @@ -472,7 +472,7 @@ public: Sets the identifier to be used as OK button. When the button with this identifier is pressed, the dialog calls wxWindow::Validate() and wxWindow::TransferDataFromWindow() and, if they both return @true, - closes the dialog with wxID_OK return code. + closes the dialog with the affirmative id return code. Also, when the user presses a hardware OK button on the devices having one or the special OK button in the PocketPC title bar, an event with