Robin Dunn
70fd236b7b
Give a little more details in the comment about wxConfig
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-17 19:29:43 +00:00
Robin Dunn
b3e9e08922
Let the backend know that the "unsigned char" parameters should be treated as integers, not strings. Also set the out flag for output parameters. Still lots more to do here.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-17 19:22:39 +00:00
Robin Dunn
5568e40385
Windows build fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-17 19:19:15 +00:00
Robin Dunn
10f0a0f57c
Pretend that there is a real wxConfig class. It will end up using the wxConfig #defined in the C++ code, and will actually be whatever is the default config class for the platform.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-17 19:15:36 +00:00
Robin Dunn
599a5bfcc1
fix file header text
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-17 19:09:42 +00:00
Robin Dunn
4e07201394
Move dataformat to dataobj
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-17 19:06:27 +00:00
Kevin Ollivier
6b9f5b8d91
We want the name of the parent module, not the name of the module itself, for the pycode annotations.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-17 04:47:33 +00:00
Kevin Ollivier
f327ab13e4
Commit another missing file...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-16 21:17:38 +00:00
Kevin Ollivier
ad305b513b
Add missing filedlg.py.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-16 20:49:42 +00:00
Kevin Ollivier
fdb9319c3e
Adding several new classes, some transfer annotations, and a start on a dataview model (compiles but is still a work in progress).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-16 05:15:38 +00:00
Robin Dunn
a548f7224d
unittest updates and new test modules
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-15 16:16:21 +00:00
Robin Dunn
7d7b8b77b8
Add __nonzero__ and MacSetTheme
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-15 16:15:35 +00:00
Robin Dunn
bff3c4df0f
* Transfer ownership for SetMask
...
* Add __nonzero__ and SetMaskColour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-15 16:15:07 +00:00
Robin Dunn
526f484f79
Add a TODO
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-15 16:13:44 +00:00
Robin Dunn
1a3be187ea
* Suppress the unittest warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-15 16:13:19 +00:00
Robin Dunn
cdc4fa7a6e
* Don't generate the property if the getter is static
...
* Give a WARNING if there is no unittest file for the etg file. This can be suppressed for the modules that really do not need one.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-15 16:12:40 +00:00
Robin Dunn
e54ba50b49
Various fixes for the build on Windows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-14 06:50:09 +00:00
Robin Dunn
3b087917bf
It's done, remove the "TODO"
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-13 05:56:10 +00:00
Robin Dunn
2d4e4b7ca2
Since we're running the etg scripts and sip from build.py then we don't need the distutils hacks needed to run them from setup.py. Deactivate the and just use normal distutils stuff on the generated C++ files.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-13 05:47:13 +00:00
Robin Dunn
4ecd33b8ce
typos
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-11 01:02:35 +00:00
Robin Dunn
4f7cd6268a
Another TODO
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-11 00:50:57 +00:00
Robin Dunn
5e5c464c91
Remove some done TODOs, add another.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-11 00:44:36 +00:00
Robin Dunn
d949d1dad1
* Update version number
...
* Since they are almost always needed for window classes, move the calls to
removeVirtuals and addWindowVirtuals into the fixWindowClass and
fixTopLevelWindowClass functions.
* Add wxWithImages to the interface headers and create wrappers for it and use
it as a base of wxBoockCtrlBase.
* Add a new wx.deprecated() function that can handle properties and classes in
addition to callables. It issues a custom warning, wxPyDeprecationWarning
since the stock DeprecationWarning is filtered out by default in Python 2.7.
* Deprecate PyWindow and similar aliases
* Deprecate wx.Window.SetDimensions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-11 00:33:10 +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
Robin Dunn
849e0427fc
* Switch to Py2.7 for the default Python to build with.
...
* Print wx.version() from the tests to help ensure we're using the version of wxPython we thing we are.
* Set the sub-release number to a larger value to help keep it separate from classic wxPython.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-06 16:28:59 +00:00
Robin Dunn
5e89a9606d
Change the package name from wxPhoenix to wx
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@68979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-03 02:39:18 +00:00
Robin Dunn
04f10c5868
Update Phoenix copyright statements to 2011
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@68978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-03 01:52:23 +00:00
Robin Dunn
66a5fba0cf
svn:ignore the generated .sip files, fix the ignore for the .cpp files too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@68977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-03 01:45:02 +00:00
Robin Dunn
3de479fad6
Remove the generated sip files from the repository
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@68976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-03 01:43:24 +00:00
Robin Dunn
4219e02440
* move wxPen to etg/pen.py
...
* move wxBrush to etg/brush.py
* move wxBookCtrlBase and wxBookCtrlEvent to etg/bookctrl.py
* move wxBitmapButton to etg/bmpbuttn.py
* move wxArrayString MappedType and add wxArrayInt plus some unittests
* add checking for default values for pos and size parameters in fixWindowClass
* set out parameter flags for wxImageHistogram.FindFirstUnusedColour
* Restore layout constraints classes and related methods
* Create a MappedType for wxClientData
* update used of wxClientData in wx.CommandEvent
* Move wxControlWithItems, wxItemContainer and wxControlWithItems to etg/ctrlsub.py
* enable some Append, Insert and Set overloads in wxControlWithItems
* addGetterSetterProps: don't make setter-only properties
* addGetterSetterProps: ensure that the getter can be called with zero args
* addGetterSetterProps: ensure that the setter can be called with just 1 arg
* restore version checking code
* moved DC classes to other etg files to match interface file names.
* allow both overloads for wx.DC.GetTextExtent and GetMultiLineTextExtent by renaming 1
* add wx.DC.GetPartialTextExtents
* and some other stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@68975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-03 01:42:42 +00:00
Kevin Ollivier
49fda7ada4
Add automatic class property generation, add support for defines, remove layout constraints from the build as they appear not to be generated with the docs for me, and add wrappers for a bunch of classes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@68963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-08-30 15:39:33 +00:00
Robin Dunn
911d90273c
Lots of little changes made to Phoenix code over the past few months, plus some tweaks to get it running with the current wx.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@68905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-08-25 23:45:50 +00:00
Robin Dunn
f330955043
Update siplib to version 4.12.4
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@68904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-08-25 23:43:02 +00:00
Robin Dunn
6733e06ff2
We can now use PyObject* instead of SIP_PYOBJECT
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-31 19:26:22 +00:00
Robin Dunn
9512216cf2
Upstream siplib update
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-31 18:33:01 +00:00
Robin Dunn
ca6859b831
Add a tool that generates a wrapper around a wxList derived class, such as wxWindowList.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-31 18:31:29 +00:00
Robin Dunn
b47abd88ff
SIP now does the RightThing with __[sg]etattr__ methods, so use them to provide a simpler implementation for wx.PyEvent and wx.PyCommandEvent. Put any attributes set from Python into a separate dictionary object, and copy that dictionary in Clone().
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-29 02:09:50 +00:00
Robin Dunn
80898eba5b
a bit of cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-29 02:06:02 +00:00
Robin Dunn
0d0873b8c8
new snapshot of the siplib
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-29 02:05:05 +00:00
Robin Dunn
0628e885d1
print the version at startup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-27 20:51:02 +00:00
Robin Dunn
89c825b7e9
fix a comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-27 20:38:10 +00:00
Robin Dunn
39b5167c96
fix a comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-27 20:36:49 +00:00
Robin Dunn
6ee75900a9
Drop the leading underscore for the -X arg in the sip command
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-27 19:24:22 +00:00
Robin Dunn
db4df36af3
updated siplib to 4.12 release
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-27 19:15:47 +00:00
Robin Dunn
05311d6b77
regen sip files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-27 19:04:08 +00:00
Robin Dunn
dbed101ca5
add some more testing code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-27 19:03:48 +00:00
Robin Dunn
efd05f36dc
cleanups and tweaks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-27 19:00:33 +00:00
Robin Dunn
53b1694757
cleanups and tweaks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-27 18:59:28 +00:00
Robin Dunn
56b229d99e
cleanups and tweaks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-27 18:59:06 +00:00
Robin Dunn
68542755de
Uncommented CallAfter() and test it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-27 18:58:39 +00:00