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
This commit is contained in:
@@ -472,7 +472,7 @@ public:
|
|||||||
Sets the identifier to be used as OK button. When the button with this
|
Sets the identifier to be used as OK button. When the button with this
|
||||||
identifier is pressed, the dialog calls wxWindow::Validate() and
|
identifier is pressed, the dialog calls wxWindow::Validate() and
|
||||||
wxWindow::TransferDataFromWindow() and, if they both return @true,
|
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
|
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
|
one or the special OK button in the PocketPC title bar, an event with
|
||||||
|
Reference in New Issue
Block a user