]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/msgdlg.cpp
Document that message box with wxYES_NO but without wxCANCEL can't be closed.
[wxWidgets.git] / src / osx / carbon / msgdlg.cpp
index 29a23d18f12b96360a117480b01bbfef78bdbae6..d7d024529c8b90439b3050e54cc717fe039a26c2 100644 (file)
@@ -247,6 +247,8 @@ int wxMessageDialog::ShowModal()
             }
         }
     }
+    
+    SetReturnCode(resultbutton);
 
     return resultbutton;
 }