Robin Dunn
59865b374a
dataobject --> dataobj
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-01 00:33:39 +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
Robin Dunn
94550bc1e3
typos, etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-29 21:02:52 +00:00
Robin Dunn
e02534acf2
Add some text about the idea for versioning the back-end tools
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-29 20:57:56 +00:00
Robin Dunn
8f21965c05
Just cleanup a little excess whitespace
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-29 20:56:53 +00:00
Robin Dunn
9dbcd04fa7
Use %DefaultDocstringFormat and write the %Docstrings indented inside the classes as expected to make the generated .sip files easier for mere humans to read and understand.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-29 20:55:57 +00:00
Robin Dunn
820a61dc4c
siplib updates from the sip-4.12.5-snapshot-de6a700f5faa development snapshot
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-29 20:53:43 +00:00
Kevin Ollivier
2b2e7e0f16
Attempt to fix buildbot build by creating the wx directory if it doesn't exist.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-28 17:26:48 +00:00
Kevin Ollivier
c6dc28a253
Update the TODO file to reference the fact that we now have a buildbot, and also see if this commit will trigger a build. :)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-28 16:14:13 +00:00
Kevin Ollivier
aaca0c1ffe
More work on wxDVC support, including DataViewItem support and GetValue override work, along with a few misc. things, and add a script in etgtools to create new etg files given command line params.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-25 06:09:42 +00:00
Robin Dunn
bca8d2f784
A little cleanup and tweaking
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-25 04:24:41 +00:00
Robin Dunn
6e5dd68234
* add a yield function that makes its own eventloop since the unittests are run before MainLoop and wx.Yield is almost a no-op then.
...
* Use the new yield
* Add some new tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-25 04:24:17 +00:00
Robin Dunn
5de01f8ab6
Add wx.Timer and wx.CallLater
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-25 04:21:11 +00:00
Robin Dunn
6fe99f038a
* Some of the Create methods in wx.AppTraits can be unignored now.
...
* Add a Traits property to wx.App
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-25 04:12:06 +00:00
Robin Dunn
989e32949a
Add wxEventLoopActivator
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-25 04:10:51 +00:00
Robin Dunn
6467ff5c06
Add wxWindowModalDialogEvent
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-25 04:10:34 +00:00
Robin Dunn
2348f50748
Add the 'const's to to overridden methods in wxConfig so sip stays happy
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-25 04:10:09 +00:00
Robin Dunn
45990bae2f
For .setCppCode fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-25 04:09:16 +00:00
Robin Dunn
e44dd28fd4
* Replacing method code with .setCppCode is now not SIP-specific. The generated code creates a new function to place the code in, like CppMethodDef does, so the given code can use 'self' and return values instead of using special SIP variables.
...
* added setCppCode_sip for when SIP-specific stuff is needed.
* Adding the 'const' on to const methods had somehow been forgotten, fix that.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-25 04:06:16 +00:00
Kevin Ollivier
747eb463b6
Switch to using a typemap for wxVariant, and add impls for wxString, long, int and bool.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-20 17:30:23 +00:00
Robin Dunn
20324e7a69
reword it a bit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-20 16:20:36 +00:00
Robin Dunn
933c11bd43
Start the Phoenix migration guide.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-20 05:46:11 +00:00
Robin Dunn
eaa022b520
more new test modules
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-20 05:45:41 +00:00
Robin Dunn
78e1d5ebf6
Add notes about setting up automated builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-20 04:44:29 +00:00
Robin Dunn
26417adce8
updated and new unittests
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-20 04:43:51 +00:00
Robin Dunn
2bf117be7f
dont complain about the lack of a unit test for this one
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-20 04:40:53 +00:00
Robin Dunn
4419d27231
auto-create properties, and experimenting with keepReference on the dc parameters...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-20 04:40:25 +00:00
Robin Dunn
792dc037c2
Add back the "BLACK" parameter defaults
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-20 04:39:11 +00:00
Robin Dunn
4aa419bf61
Add DllMain to save the DLL hInstance as the wx hInstance (so it knows where to look for the resource data)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-20 04:38:11 +00:00
Robin Dunn
d7be131b94
make running the tests verbosly optional
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-20 04:36:57 +00:00
Robin Dunn
3ebcacecb4
sort the list of C++ files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-20 04:33:51 +00:00
Robin Dunn
70467f7621
Add wxStockGDI, use it to delay the initialization of the global stock GDI objects (wx.BLUE_BRUSH, wx.RED, wx.BLACK_PEN, etc.) until the wx.App object is created.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-20 04:33:19 +00:00
Kevin Ollivier
1aa87b9104
Another batch of new classes. With this, aside from wxRadioBox since it still has the ambiguous base issue for GetDefaultBorder, all the wxPython Classic unittest suite runs, and impressively, pretty much just reports missing methods (maybe undoc'ed or Classic-only ones) and a couple missing bits like PyAssertionError.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-18 16:37:38 +00:00
Robin Dunn
0e2a0393b8
More details for the "For all new etg files" section of the document.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-18 05:31:10 +00:00
Robin Dunn
881cdb6dcc
Updated TODOs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-18 05:17:05 +00:00
Robin Dunn
317f312acc
Lotsa new unittests
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-18 04:59:15 +00:00
Robin Dunn
447048aca9
Ignore the wxIMAGE_OPTION_* defines since they are all strings. Add assignments to a block of pycode instead.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-18 04:58:42 +00:00
Robin Dunn
df0d33587f
No unittests needed for this module since the classes are all abstract.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-18 04:57:14 +00:00
Robin Dunn
58c1a51b09
* Switch type default to wxBITMAP_TYPE_ANY
...
* Add __nonzero__
* Add GetHandle and SetHandle for MSW since Classic has them
* Add a deprecated CursorFromImage
* Add some unittests.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-18 04:56:29 +00:00
Robin Dunn
25a28bf6cc
* Enable the use of the KeepReference annotation
...
* Use keepReference=True for the dc and buffer args in the buffered DCs to ensure that the target DC and the buffer are not GC's before the buffered DC is.
* Change #defines to output a "const int NAME" instead of an enum. It looks lots better, and is closer to the truth.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-18 04:52:28 +00:00
Robin Dunn
d1f07ae0a7
Move wxFontMetrics from font.py to dc.py since that is the interface file it is located in.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-18 04:48:46 +00:00
Robin Dunn
4a563ed809
Move wxFontMetrics from font.py to dc.py since that is the interface file it is located in.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-18 04:42:10 +00:00
Robin Dunn
91a404fd22
FIx the %Extract used in the wxListWrapper and wxArrayWrapper templates to include the module name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-18 04:40:55 +00:00
Robin Dunn
462c8b7932
* Flesh out wxConfig some more.
...
* Add ReadFloat, ReadBool, set ownership transfers for Set, etc.
* Add unittests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-17 21:50:21 +00:00
Robin Dunn
93affb710a
remove debug print
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-17 21:41:11 +00:00
Robin Dunn
6567232ed6
move checklistbox to checklst
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-17 20:03:37 +00:00
Robin Dunn
75b3dafeb8
Clarify a comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-17 19:49:33 +00:00
Robin Dunn
ce158b85e3
wxMSW requires mask bitmaps to have 1-bit depth
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-17 19:48:15 +00:00
Robin Dunn
dad6865951
import and use unittest
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-17 19:47:15 +00:00
Robin Dunn
716a5773c3
A little cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-17 19:46:53 +00:00