]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_accel.i
Add wxCONTROL_FLAT
[wxWidgets.git] / wxPython / src / _accel.i
index 0cf237d15260eb954032449a89897543d5cbce62..cc20204c428198687a6deead1e7ae34e20e350f9 100644 (file)
@@ -165,6 +165,11 @@ const wxAcceleratorTable wxNullAcceleratorTable;
 %mutable;
 
 
-wxAcceleratorEntry *wxGetAccelFromString(const wxString& label);
+%pythoncode {
+    def GetAccelFromString(label):
+        entry = AcceleratorEntry()
+        entry.FromString(label)
+        return entry
+}
 
 //---------------------------------------------------------------------------