Commit Graph

16 Commits

Author SHA1 Message Date
Robin Dunn
9f2cc54b48 Update copyright years 2020-03-10 11:41:39 -07:00
Robin Dunn
5d984d99e1 Use delete[] to satisfy compiler warning
(cherry picked from commit 1b119f6add)
2018-08-30 10:41:30 -07:00
Robin Dunn
98e592157c Add docstring for our custom ctor for wx.AcceleratorTable 2018-01-29 14:17:20 -08:00
Robin Dunn
4e38994944 Update copyright in etg 2017-02-13 16:14:55 -08:00
Metallicow
ebc8d0d971 trim trailing space etg directory 2016-11-10 12:08:36 -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
661c7ca733 Add wx.GetAccelFromString wrapper for compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-29 02:33:07 +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
766baba0a6 M0ve the call to addAutoProperties into the doCommonTweaks function, but make it not generate the auto properties if there are already properties in the class or the class explicitly clears the alllowAutoProperties flag, turning it off.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-24 21:35:29 +00:00
Robin Dunn
ee1f7f2548 Rename addGetterSetterProps --> addAutoProperties
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-13 19:04:40 +00:00
Robin Dunn
007a98d927 Add my name to etg scripts that I've significantly modified.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-11 00:41:53 +00:00
Robin Dunn
6e1e506fd1 Clean up some commented out code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-09 07:36:05 +00:00
Robin Dunn
8aab0cabf0 * Turn off the virtual flag for the wxObject dtor. This makes it possible for simpler wrappers without a new derived class to be generated for any class that derives from wxObject and doesn't have any virtuals of its own, and also makes it so .addCppCtor will work for those classes.
* Switch to .addCppCtor for wx.Font
* Add code to enable wx.AcceleratorTable to be constructed from a list of 3 integer tuples (or wx.AcceleratorEntry instances) like can be done in Classic.
* Add unittests for wx.AcceleratorTable and wx.AcceleratorEntry

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-01 00:45:57 +00:00
Robin Dunn
812c5b706d Undo last commit for etg/accel.py, it was supposed to be part of a different changeset
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-01 00:36:25 +00:00
Robin Dunn
811f1aaeb8 dataobject --> dataobj
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-01 00:33:19 +00:00
Kevin Ollivier
60d9ea15f6 More updates for Phoenix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-09 15:46:56 +00:00