projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e733c4c
)
wxMessageBox off the main thread lost result code.
master
author
Jay Freeman (saurik)
<saurik@saurik.com>
Sat, 23 Jul 2016 10:38:02 +0000
(
03:38
-0700)
committer
Jay Freeman (saurik)
<saurik@saurik.com>
Sat, 23 Jul 2016 10:38:02 +0000
(
03:38
-0700)
src/osx/cocoa/msgdlg.mm
patch
|
blob
|
blame
|
history
diff --git
a/src/osx/cocoa/msgdlg.mm
b/src/osx/cocoa/msgdlg.mm
index fb52f0a7a014531c5f712520882554250e1fd389..d085edb24d4c0fcd7104770da47f5549ec5ffb3e 100644
(file)
--- a/
src/osx/cocoa/msgdlg.mm
+++ b/
src/osx/cocoa/msgdlg.mm
@@
-152,6
+152,7
@@
int wxMessageDialog::ShowModal()
defaultButtonTitle, alternateButtonTitle, otherButtonTitle, &exitButton );
if (err == noErr)
resultbutton = m_buttonId[exitButton];
+ SetReturnCode(resultbutton);
}
else
{