X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/214c4fbea5875368cc21a082d20cb082cd38cb3c..9e477492e29e03c02827b1e42a16cb09a13f5149:/wxPython/src/_config.i?ds=inline diff --git a/wxPython/src/_config.i b/wxPython/src/_config.i index 434b42cdb1..f3f4d306a8 100644 --- a/wxPython/src/_config.i +++ b/wxPython/src/_config.i @@ -24,12 +24,14 @@ %{ static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) { + wxPyBlock_t blocked = wxPyBeginBlockThreads(); PyObject* ret = PyTuple_New(3); if (ret) { PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag)); PyTuple_SET_ITEM(ret, 1, wx2PyString(str)); PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index)); } + wxPyEndBlockThreads(blocked); return ret; } %} @@ -369,6 +371,17 @@ time)", ""); long , GetStyle() const, "", ""); + %property(AppName, GetAppName, SetAppName, doc="See `GetAppName` and `SetAppName`"); + %property(EntryType, GetEntryType, doc="See `GetEntryType`"); + %property(FirstEntry, GetFirstEntry, doc="See `GetFirstEntry`"); + %property(FirstGroup, GetFirstGroup, doc="See `GetFirstGroup`"); + %property(NextEntry, GetNextEntry, doc="See `GetNextEntry`"); + %property(NextGroup, GetNextGroup, doc="See `GetNextGroup`"); + %property(NumberOfEntries, GetNumberOfEntries, doc="See `GetNumberOfEntries`"); + %property(NumberOfGroups, GetNumberOfGroups, doc="See `GetNumberOfGroups`"); + %property(Path, GetPath, SetPath, doc="See `GetPath` and `SetPath`"); + %property(Style, GetStyle, SetStyle, doc="See `GetStyle` and `SetStyle`"); + %property(VendorName, GetVendorName, SetVendorName, doc="See `GetVendorName` and `SetVendorName`"); };