Commit Graph

203 Commits

Author SHA1 Message Date
Robin Dunn
96c41be226 Merge pull request #1199 from RobinD42/sip-4.19.16
Update sip to version 4.19.16

(cherry picked from commit 7383d34fce)
2019-04-15 16:57:04 -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
ac1a323144 Merge pull request #1026 from RobinD42/sip-4.19.13
Switch to SIP 4.19.13

(cherry picked from commit a268da9b84)
2018-10-03 19:25:45 -07:00
Robin Dunn
b5bb587145 Merge pull request #897 from RobinD42/add-windowidref
Add wx.WindowIDRef and wx.NewIdRef
2018-06-24 21:37:54 -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
09de554e1b Merge branch 'this-n-that' into wxPy-4.0.x
(cherry picked from commit 2e5430d57f)
2018-05-07 11:24:24 -07:00
Robin Dunn
f1a24d4978 Add classes that have been added to existing interface headers 2018-02-09 15:03:58 -08:00
Robin Dunn
9a8dd85665 Use wxApp::GetInstance in i_wxPyCheckForApp instead of wxTheApp 2018-02-01 20:23:16 -08:00
Robin Dunn
8ddac86fd2 Don't CleanUpModules when reinitializing. 2018-01-29 19:48:29 -08:00
Robin Dunn
bb275cb617 Switch gizmos.TreeListCtrl to be essentially just HyperTreeList with a new name. 2018-01-05 19:46:50 -08:00
Robin Dunn
deb21aa2ed Merge branch 'master' into port-gizmos 2017-12-06 13:15:14 -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
51b39e65b5 Starting to add TreeListCtrl 2017-11-17 14:39:16 -08:00
Robin Dunn
17643e9cd1 Port the LEDNumberCtrl from wxCode/gizmos in Classic 2017-10-27 17:21:59 -07:00
Robin Dunn
a5eeca0a5c Return None when trying to make a memoryview buffer with a NULL pointer 2017-09-27 19:17:19 -07:00
Robin Dunn
541c4882da Add an item to wx.PlatformInfo and wx.__version__ indicating build type:
Development, snapshot or release
2017-09-27 17:25:37 -07:00
Robin Dunn
c8a82c0601 Clear potential prior error state 2017-09-23 19:17:23 -07:00
Robin Dunn
07c2302d9b Record LONG_MAX and LONG_MIN values too 2017-08-15 18:42:15 -07:00
Robin Dunn
c8141c9cfe Save info about the size of some C types 2017-08-15 17:46:09 -07:00
Robin Dunn
b8260ea7f1 Also error-check wxArrayInt conversion 2017-06-27 20:21:36 -07:00
Robin Dunn
9a8a5ee545 relocate the sip directives to fix earlier premature commit 2017-06-27 20:21:26 -07:00
Robin Dunn
5295e4eba8 Clear possible exception from PyBytes_Check before converting from Unicode 2017-06-27 20:21:13 -07:00
Robin Dunn
3b0d3c18a0 Add support for some PyDate_ APIs in our API,
so we only have to worry about PyDateTime_IMPORT being needed in one compilation unit.
2017-06-27 20:20:23 -07:00
Robin Dunn
b91c4e396c Reinit image handlers after clearing and reloading wxModules 2017-06-16 20:34:44 -07:00
Robin Dunn
e5bf8ac1fe Add code to reinitialize the wxModules into an API function 2017-06-08 17:00:19 -07:00
Robin Dunn
c655fd5f5a Allow wxPyCheckForApp to not raise an exception if one isn't wanted 2017-06-08 12:05:30 -07:00
Robin Dunn
f277412ad4 wxpy_api updates:
shift a couple inline helpers into the exported API, add and use a couple new ones.
2017-05-25 13:53:16 -07:00
Robin Dunn
a1bafc04df Make TreeItemId hashable using the internal ID for the hash value,
so IDs pointing to the same item will compare as equal and have the same hash values. This enables TreeItemIDs to be dictionary keys in Py3.
2017-05-18 08:19:08 -07:00
Robin Dunn
38390590cc Oops, forgot some braces 2017-04-24 18:37:38 -07:00
Robin Dunn
fd8fa8431d Clear the error set by earlier (failed) tests when creating a wxVariant 2017-04-24 16:17:45 -07:00
Robin Dunn
efa81882e3 Also allow numpy arrays for sequence conversions to value types 2017-04-17 17:22:50 -07:00
Robin Dunn
a4e226c7fd Merge branch 'master' into release-prep 2017-04-13 20:51:26 -07:00
Robin Dunn
708e2487dc Since we know it is a Tuple or List we can use PySequence_Fast_GET_ITEM 2017-04-12 14:32:50 -07:00
Robin Dunn
428718a3d8 Add a string to wx.PlatformInfo for the wxWidgets version. Also add wx.wxWidgets_version. 2017-04-07 21:08:34 -07:00
Robin Dunn
f4e2104adc Set the version number to 4.0.0 and update comments and other text about not keeping in sync with wxWidgets version anymore. 2017-04-07 12:24:36 -07:00
Robin Dunn
62666b38ba Various minor text tweaks here and there 2017-04-06 11:34:50 -07:00
Robin Dunn
9b5f40caa4 Merge branch 'master' into release-prep
# Conflicts:
#	etg/_propgrid.py
#	etg/propgrid.py
#	etg/propgridproperty.py
#	ext/wxWidgets
2017-03-14 20:01:53 -07:00
Robin Dunn
3d0fb1927e Remove the MappedType for wxPGAttributeStorage 2017-03-13 19:59:54 -07:00
Robin Dunn
93005e5427 Add variant converters for wxColourPropertyValue 2017-03-11 20:14:51 -08:00
Robin Dunn
094ab1f710 Just convert wxPGAttributeStorage to a dictionary 2017-03-11 20:13:39 -08:00
Robin Dunn
12c03571d2 Check for None/NULL before the other types. 2017-02-24 16:09:07 -08:00
Robin Dunn
918a70f5a4 Add mapped type for wxPGVariant and switch all wxVariant in propgrid to this type. This allows the variant types only available in propgrid to be used the same as the core variant types. 2017-02-24 14:32:40 -08:00
Robin Dunn
19930c9bbd Add support for more variant data types available in core. 2017-02-24 14:10:04 -08:00
Robin Dunn
2b7ae84149 Allow None to be used with wxVariant 2017-02-22 13:32:59 -08:00
Robin Dunn
35bfbb4b01 Bump version number, add alpha tag 2017-02-14 19:37:03 -08:00
Robin Dunn
02d191cb7e Update copyright in src 2017-02-13 16:31:56 -08:00
Robin Dunn
20580bda6e tweak comment a little 2017-02-03 17:01:56 -08:00
Robin Dunn
c2a63a93f4 Using the NoTypeName annotation solves the wxLongLong_t issue 2017-01-22 19:50:45 -08:00
Robin Dunn
2c2e00dbe0 Various fixes and (hopefully temporary) workarounds for using the newest version of sip 2017-01-21 18:26:12 -08:00
Robin Dunn
7696944dbd Change where wxPyNoAppError is initialized. 2017-01-21 18:16:57 -08:00