]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/controls2.i
gah. escape $ in the here block.
[wxWidgets.git] / wxPython / src / controls2.i
index a4af34c4bc808bdec25684ec20690949e8f27de2..194a5ddb68e22545aa06544d13fe37b031732ec3 100644 (file)
@@ -747,7 +747,7 @@ public:
         #ifdef __WXMSW__
             return self;
         #else
-            return (wxWindow*)m_mainWin;
+            return (wxWindow*)self->m_mainWin;
         #endif
         }
     }
@@ -1057,6 +1057,7 @@ public:
     int GetKeyCode();
     %pragma(python) addtoclass = "GetCode = GetKeyCode"
     const wxString& GetLabel();
+    bool IsEditCancelled() const;
 };