Commit Graph

155 Commits

Author SHA1 Message Date
lojack5
17cbd02543 fixup: Non-generated core.pyi code
Since this is used to not only generate the type-stubs, but also the actual
wx/core.py, we need to ensure TypeVar and ParamSpec are imported there as
well. So, move the imports to the wx/core.py generator definition, and
remove the imports from the type-stub generator (these imports are only
used by CallAfter and CallLater).
2023-10-18 22:46:32 -06:00
lojack5
1fa0df5db5 Add typing to handwritten code for core.pyi 2023-10-18 12:27:00 -06:00
Scott Talbert
46f1c1759f Update wxWidgets to 3.1.7 2022-06-08 14:44:47 -07:00
Scott Talbert
aa1ef7bd75 Update ETG scripts to support wxWidgets 3.1.6 functionality
Fixes #2136.
2022-05-02 22:33:58 -04:00
Robin Dunn
9235b00709 Fix a typo 2021-10-26 12:37:39 -07:00
Robin Dunn
9f2cc54b48 Update copyright years 2020-03-10 11:41:39 -07:00
Robin Dunn
49cceecbdf Added wrappers for the wx.CollapsibleHeaderCtrl class 2019-10-30 13:03:51 -07:00
Robin Dunn
e972814cd3 Add wx.ActivityIndicator 2019-10-29 15:23:08 -07:00
Robin Dunn
e9e3736fa0 Merge pull request #1035 from RobinD42/fix-issue961
include wxpy_api.h

(cherry picked from commit 7300aa4718)
2018-10-11 21:15:10 -07:00
Robin Dunn
2f540a91e6 Merge pull request #1034 from RobinD42/fix-issue958-291-wxAccessible
Add wxAccessible and a tool to generate C++ stubs

(cherry picked from commit 3a9f37f2aa)
2018-10-10 19:40:59 -07:00
Robin Dunn
b77c88a280 Merge tag 'wxPython-4.0.2' into wxPy-4.0.x
(cherry picked from commit 4c56c39e52)
2018-06-17 22:04:22 -07:00
Robin Dunn
f32cb4669f Merge pull request #845 from RobinD42/fix-issue811
Enable wrapping wxGraphicsContext::Create(metaFileDC)
(cherry picked from commit 6c3ce18e17)
2018-05-05 22:22:05 -07:00
Robin Dunn
2bd5c69bc3 Added the wxWidgets version number to the tail end of the string returned by wx.version(). 2018-03-08 13:14:42 -08:00
Mesalu
52afc4d4ce Fix docstring futher 2018-01-04 16:17:11 -08:00
Mesalu
6c46df9698 Tweak docstring 2018-01-04 16:12:40 -08:00
Mesalu
1007f86fc1 Merge branch 'master' into mesalu-patch-1 2018-01-04 16:07:47 -08:00
Mesalu
2d5e0732da Maintain references to CallLater instances. 2018-01-04 13:12:44 -08:00
Robin Dunn
03d1e1559c Add MappedType for wxMessageDialog::ButtonLabel,
so MessageDialog methods can take either string or stock IDs.
2017-11-18 19:26:42 -08:00
Robin Dunn
b55cfa073a Add wx.Simplbook 2017-09-05 21:32:29 -07:00
Robin Dunn
4e38994944 Update copyright in etg 2017-02-13 16:14:55 -08:00
Robin Dunn
98135c2220 Add numdlg 2017-01-21 20:13:06 -08:00
Robin Dunn
a4476b2fce Merge branch 'trim-trailing-space' of https://github.com/Metallicow/Phoenix into Metallicow-trim-trailing-space 2016-11-23 23:14:42 -08:00
Metallicow
ebc8d0d971 trim trailing space etg directory 2016-11-10 12:08:36 -06:00
Robin Dunn
e4e8eee165 Add stockitem for wxGetStockLabel() 2016-10-28 14:24:11 -07:00
Robin Dunn
c9b878a676 Lots more additions for propgrid:
* Update wxWidgets docs for propgrid/props.h and propgrid/advprops.h
* Add etg scripts for propgrid/props.h and propgrid/advprops.h
* Add wxUniChar
* Add wxTextValidator
* Add wxULongLong
2016-08-25 21:26:50 -07:00
Scott Talbert
fefc7c59b0 Add wrapper and unittests for wxPalette 2016-08-04 20:47:58 -04:00
Robin Dunn
ba5baabe77 Fix links in method and properties summaries 2016-05-24 01:37:11 -07:00
Robin Dunn
68844e4b52 Add the functions to the module index pages.
Call them moduleindex pages instead of classindex.
Use the fullname for function links.
2016-05-23 23:43:11 -07:00
Robin Dunn
6bd2ba6a4c typo 2016-05-23 16:18:02 -07:00
Robin Dunn
838bbd3a99 Fix CallAfter - CallLater reference links 2016-05-23 14:35:43 -07:00
Robin Dunn
24e2b78806 Lots more docs changes.
Add a generator that updates a persistent mapping of item (functions, classes, etc.) to the module names they are a member of.

Remove the NO_MODULE dictionary as we're tracking all the item --> module names now.

Consolidate the 2 removeWxPrefix implementations to just one.

Fix taking out too much space in the class index when removing the :ref: for unknown items, which caused ReST problems.

Use pyName if it is set

When renaming classes we also need to change the className in the method objects

Properly deal with nested classes
2016-05-22 23:39:40 -07:00
Robin Dunn
e2f853d0e0 Put the module docstrings on the module index pages
Plus some other changes to start using using the "wx." prefix on names in the docs. (More are still needed but this is a start.
2016-05-19 21:04:14 -07:00
Robin Dunn
240daf5554 Add a simple docstring for all of the main modules 2016-05-19 14:50:04 -07:00
Robin Dunn
cb701bd77e Reinstate the size_t MappedType with compile-time bit size checking
Replace the use of size_t in custom code with ulong so SIP doesn't try to use the MappedType there (it only uses pointers for them.)
2016-03-04 21:05:46 -08:00
Robin Dunn
2c0ba84396 size_t experiments 2016-03-04 14:51:59 -08:00
Scott Talbert
a57bec2e71 Add support for building with GTK3 2016-02-29 20:22:58 -05:00
Robin Dunn
a41fd0304a Add wx.ModalDialogHook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-07 03:02:32 +00:00
Robin Dunn
10b92e1ff9 add Preference classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-03-06 19:56:16 +00:00
Robin Dunn
35fd2e16bf Update copyright year
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-01-21 02:13:03 +00:00
Robin Dunn
c17bb549fe Add FindItem and FindItemById
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-29 02:33:37 +00:00
Robin Dunn
d0343102dc Add some of the debug related functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-22 08:01:37 +00:00
Robin Dunn
75e056adba Add wx.StopWatch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-22 08:01:11 +00:00
Robin Dunn
eece1b3f96 Add wxClientDataContainer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-22 08:00:37 +00:00
Andrea Gavana
66840744d2 Phoenix: few corrections to the overviews; Added some more contributed snippets; Fixed some more converted snippets; Added the correct interlink references in the etg files; better handling of the Doxygen stuff.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-05 20:44:52 +00:00
Robin Dunn
036b3db33c Add wx.GenericMessageDialog and wx.RichMessageDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-27 01:20:56 +00:00
Robin Dunn
429507f2ad Add a few more compatibility wrappers, and deprecate them.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-10-27 03:16:37 +00:00
Robin Dunn
932d7a6166 Add the raw bitmap access classes and various bits of magic.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-08-16 00:46:13 +00:00
Robin Dunn
7bd1c71395 Add wx.VListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-08-16 00:45:48 +00:00
Robin Dunn
a546e29c18 Add wx.TextEntryDialog and wx.PasswordEntryDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-08-16 00:45:37 +00:00
Robin Dunn
150725928a Add wxFileSystemWatcher
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-08-02 05:39:26 +00:00