SetReturnCode confusion
Christian Buhtz
exsudat at gmx.de
Thu Aug 9 10:40:04 PDT 2007
Vadim Zeitlin schrieb:
> We still don't know why doesn't it work. Removing the method instead of
> debugging it seems a bit extreme.
As Robin Dunn described, Close() set the ReturnCode() to wxID_CANCEL.
SetReturnCode() workes. But the question is if there is a need for this
methode?
Closing a dialog should be done with EndModal(return_code). So there is
no need for SetReturnCode()?
More information about the wx-dev
mailing list