[wx-dev] Re: SetReturnCode confusion

Robin Dunn robin at alldunn.com
Tue Aug 7 11:57:17 PDT 2007


Francesco Montorsi wrote:
> Christian Buhtz ha scritto:
>> Vadim Zeitlin schrieb:
>>> where is GetReturnCode() is called (obviously not by
>>> your code but from somewhere inside Close()) to make this happen.
>>
>> I didn't analyze the Close() code.
> it's clear you should then.
> 
> Probably Close() resets the return code to wxID_CLOSE or something else.


5105 is wxID_CANCEL.


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wx-dev mailing list