Robin Dunn
d9b25fdc80
Move wxpy_api.h to wx/include/wxPython, so it will be included in the wheel
2018-10-11 12:15:37 -07:00
Robin Dunn
b410f5e570
Update copyright years --> 2018
2018-06-06 10:59:51 -07:00
Robin Dunn
87b488e4e9
Use wxApp::GetInstance in i_wxPyCheckForApp instead of wxTheApp
2018-02-01 20:03:39 -08:00
Robin Dunn
8ddac86fd2
Don't CleanUpModules when reinitializing.
2018-01-29 19:48:29 -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
a5eeca0a5c
Return None when trying to make a memoryview buffer with a NULL pointer
2017-09-27 19:17:19 -07:00
Robin Dunn
c8a82c0601
Clear potential prior error state
2017-09-23 19:17:23 -07:00
Robin Dunn
9a8a5ee545
relocate the sip directives to fix earlier premature commit
2017-06-27 20:21:26 -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
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
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
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
02d191cb7e
Update copyright in src
2017-02-13 16:31:56 -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
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
db9351e83a
Use PyObject_RichCompareBool instead of PyObject_Cmp, for Python3 compatibility and because it's a better API
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-17 22:43:48 +00:00
Robin Dunn
aacc033a6d
Add the rest of the dataview classes, lots of unittests and supporting helpers and MappedTypes.
...
Update existing dataview and variant classes and MappedTypes to add missing features and such needed for Classic compatibility and full coverage of the API.
Add some samples ported from the Classic demo so the DVC and related classes can be seen in action.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-17 22:22:20 +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
Kevin Ollivier
d3f7f0065f
Add support for namespaced object names
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-08-23 01:38:28 +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
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
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
b627541615
Ensure that the API pointer has been initialized after the CObject has been created
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-23 03:19:45 +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