]> git.saurik.com Git - wxWidgets.git/commitdiff
Add wx.Dialog.Get/SetAffirmativeId and Get/SetEscapeId
authorRobin Dunn <robin@alldunn.com>
Fri, 10 Feb 2006 18:36:03 +0000 (18:36 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 10 Feb 2006 18:36:03 +0000 (18:36 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/_toplvl.i

index 7b9786d46c104d46c038fc281b38bdba4213197d..2c977606bbe6f70e1e531d0a2f620563570964b8 100644 (file)
@@ -317,6 +317,14 @@ public:
     void SetReturnCode(int returnCode);
     int GetReturnCode() const;
 
+    // The identifier for the affirmative button
+    void SetAffirmativeId(int affirmativeId);
+    int GetAffirmativeId() const;
+
+    // Identifier for Esc key translation
+    void SetEscapeId(int escapeId);
+    int GetEscapeId() const;
+
     // splits text up at newlines and places the
     // lines into a vertical wxBoxSizer
     wxSizer* CreateTextSizer( const wxString &message );