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
efa81882e3
Also allow numpy arrays for sequence conversions to value types
2017-04-17 17:22:50 -07: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
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
786d806906
Move wxPyClientData and wxPyUserData declarations to wxpy_api.h
2016-07-05 16:13:14 -07:00
Robin Dunn
6f0eb5e441
Add missing wxPyInt_FromSsize_t
2016-05-08 08:20:23 -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
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
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
8c0fb1c8f6
Move the wxVariant helpers to the API so they can be reused elsewhere
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-17 22:20:26 +00:00
Robin Dunn
68ce1c5a02
Add wxPyWrappedPtr_TypeCheck API
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-17 22:19:10 +00:00
Robin Dunn
06b02a6277
Add wx.stc.StyledTextCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-10-27 03:16:14 +00:00
Robin Dunn
42df9e17fa
Port the add-on wx.DC.DrawXXXList methods from Classic
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-08-21 04:36:31 +00:00
Robin Dunn
68f17a6f16
Ensure we have the GIL before calling PyCapsule_Import
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-08-10 04:54:53 +00:00
Robin Dunn
6098d5d07e
Add an #error if wx was built with wxString using utf-8 internally so I won't forget to come back and fix it.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-08-02 05:39:18 +00:00
Robin Dunn
bbbe85b554
Refactor the various PyObject user-data classes to share a common templated base class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-30 23:33:53 +00:00
Robin Dunn
787cfb858e
Add and use the wxPyThreadBlocker class.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-30 03:24:34 +00:00
Robin Dunn
b41df0b779
Many, many (many!) changes needed to build and run the Phoenix extension modules with Python 3. Where possible changes were made such that the code works with both Python 2.7 and 3.2 without conditionals. In general the following types of changes were made:
...
* Changed imports to use either absolute or explicit relative imports. Implicit relative imports are no longer allowed.
* Changes to accomodate standard library classes or modues moving to other locations, or being removed entirely.
* Changes related to print becoming a function, execfile being removed, u'' no longer allowed, and other syntax related issues.
* Working around C APIs that have changed or simply vanished. (PyInt, PyString, PyBytes, etc.)
* Dealing with text file objects using strings vs binary file objects using bytes, auto-encoding, and etc.
* Replacing the use of PyCObject with PyCapsule and dealing with an apparent bug where PyCapsule objects can't be imported from submodules within a package.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-24 23:28:02 +00:00
Robin Dunn
cb5e679b6d
Add a convenience function to the API for creating a writable buffer object from a pointer and size.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-10 22:39:08 +00:00
Robin Dunn
18098181e3
Add buffer related methods and helpers for wxBitmap
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-28 04:05:08 +00:00
Robin Dunn
78a4c2a580
Reword a comment a bit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-07 04:17:05 +00:00
Robin Dunn
95c5c5f50e
Add treectrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-29 16:59:21 +00:00
Robin Dunn
3bee9be6f8
Fix typo and do a little cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-26 19:21:52 +00:00
Robin Dunn
c99efff700
ignore the const string warning for all gcc, not just on Mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-22 04:15:07 +00:00
Robin Dunn
74c3bb39d1
Set up and export the API structure of function pointers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-22 04:15:02 +00:00
Robin Dunn
3ce4dd7927
Rename wxpy_utils to wxpy_api
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-22 04:14:55 +00:00