X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5472694a7d91e62402da193a0ddbf0a13dac25a3..cea0869cdf378f178f2ff3751b7f348fa8db7bf2:/wxPython/src/_toplvl.i diff --git a/wxPython/src/_toplvl.i b/wxPython/src/_toplvl.i index 8bdbbb2a01..836b7dd90c 100644 --- a/wxPython/src/_toplvl.i +++ b/wxPython/src/_toplvl.i @@ -176,9 +176,6 @@ public: } #endif - virtual bool SetTransparent(byte alpha); - virtual bool CanSetTransparent(); - DocDeclStr( @@ -366,11 +363,15 @@ public: void SetReturnCode(int returnCode); int GetReturnCode() const; - // The identifier for the affirmative button + // Set the identifier for the affirmative button: this button will close + // the dialog after validating data and calling TransferDataFromWindow() void SetAffirmativeId(int affirmativeId); int GetAffirmativeId() const; - // Identifier for Esc key translation + // Set identifier for Esc key translation: the button with this id will + // close the dialog without doing anything else; special value wxID_NONE + // means to not handle Esc at all while wxID_ANY means to map Esc to + // wxID_CANCEL if present and GetAffirmativeId() otherwise void SetEscapeId(int escapeId); int GetEscapeId() const;