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
Robin Dunn
665248ee2d
Add wxPyNoAppError, and exception to be used when the application object hasn’t been created yet.
2017-01-21 13:23:23 -08:00
Robin Dunn
4a008f8f45
Add wxPyCheckForApp API function
2017-01-20 22:05:28 -08:00
Metallicow
c6ed20e00d
Trim trailing space src directory
2016-12-05 16:39:14 -06: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
Robin Dunn
aa2d0de125
Finish PseudoDC wrappers, and update the demo.
2016-07-29 16:39:29 -07:00
Robin Dunn
1b82b0cf04
Message fix in wx.deprecated
2016-07-28 19:52:13 -07:00
Robin Dunn
b269afd58c
Begin adding PseudoDC
2016-07-27 16:13:13 -07:00
Robin Dunn
23acabb32a
fix space typos
2016-07-18 12:59:22 -07:00
Robin Dunn
786d806906
Move wxPyClientData and wxPyUserData declarations to wxpy_api.h
2016-07-05 16:13:14 -07:00
Robin Dunn
2355ceb198
Use fullname on constants in the converted text
2016-06-04 14:44:08 -07:00
Robin Dunn
a8f6d6961d
Move axbase to an etg script, add tests
2016-05-17 10:45:05 -07:00
Robin Dunn
a823a32524
Add axbase with wxPyAxBaseWindow
2016-05-14 23:14:37 -07:00
Robin Dunn
5751b9296e
typos
2016-05-13 20:15:54 -07:00
Robin Dunn
6f0eb5e441
Add missing wxPyInt_FromSsize_t
2016-05-08 08:20:23 -07:00
Robin Dunn
04b0b3fe43
Fix typo
2016-05-07 19:16:28 -07:00
Robin Dunn
f01198bcc4
Merge pull request #68 from swt2c/fix_wacky_ints
...
Fix wacky ints (mainly for Py2.7 / Win64)
2016-05-07 18:36:08 -07:00
Scott Talbert
02b4bb28e7
Fix wacky ints (mainly for Py2.7 / Win64)
...
The 'wacky ints' tests were failing on Win64. It seems that the PyLong_XX
functions don't work correctly there on Py 2.7. The solution was to switch to
the PyInt_XX functions, which will correctly return a PyLong when necessary.
2016-05-07 13:27:37 -04:00
Robin Dunn
aa41158c9d
Merge pull request #50 from swt2c/fix_getxwindow_gtk3_crash
...
Fix crash when calling GetHandle() on unrealized window with wxGTK3
2016-05-02 21:16:16 -07:00
Scott Talbert
69af9e3fb0
Fix crash when calling GetHandle() on unrealized window with wxGTK3
...
Unlike GDK_WINDOW_XWINDOW(), GDK_WINDOW_XID() seems unable to handle NULLs,
so check for a NULL first. This is similar to a patch I submitted for Classic:
http://trac.wxwidgets.org/ticket/16765
2016-03-12 13:37:54 -05:00
Robin Dunn
23e69cb9b8
Some cleanup and comments
2016-03-09 21:10:08 -08:00
Robin Dunn
2078c55af7
Use a MappedType for wxIntPtr and wxUIntPtr too.
2016-03-09 20:29:12 -08:00
Robin Dunn
e69accaa9f
* Deal with wxIntPtr and wxUIntPtr with a typedef (for now?)
...
* Add wacky_int tests
* Some cleanup
2016-03-08 22:49:57 -08:00
Robin Dunn
7f380e43a0
Add some notes
2016-03-04 21:35:08 -08:00