Commit Graph

1208 Commits

Author SHA1 Message Date
Robin Dunn
480bc21a84 Add a tool function that ignores one overloaded method if another overload only differs in constness. Use it in richtextbuffer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 23:31:44 +00:00
Robin Dunn
edcef36f08 A little cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 23:31:14 +00:00
Robin Dunn
13d5942cbb Add wxArrayPtrWrapperTemplate to wrap the wxArrays using the pointer version of the macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 23:30:44 +00:00
Robin Dunn
4e6898a034 More tweaks for richtext buffer classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 23:30:14 +00:00
Robin Dunn
a023cc9c30 Richtext needs wxXML declarations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 23:29:45 +00:00
Robin Dunn
7dcb3c3dfb Ignore some overloads which can't be disambiguated by the wrappers.
(Typically methods that only differ by constness in C++.)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 23:29:16 +00:00
Robin Dunn
ce4424c4ea Initial add of richtext modules.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 23:28:44 +00:00
Robin Dunn
590c739493 just use 6 build jobs instead of all 8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-07 03:02:40 +00:00
Robin Dunn
a41fd0304a Add wx.ModalDialogHook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-07 03:02:32 +00:00
Robin Dunn
34e8d2da1a Fix typo in comments.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-07 01:42:15 +00:00
Robin Dunn
ca2d49660a Remove import statement for not being used in the code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-07 01:42:07 +00:00
Robin Dunn
4bbf5c2bee Merge pull request #1 from wernerfb/master
Small doc correction

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-06 15:57:04 +00:00
Robin Dunn
df8589a8cd Don't lose the newlines from the docstring of a PyMethodDef
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-06 01:59:04 +00:00
Robin Dunn
803aace8ab Floatcanvas patch from Wenrer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-06 01:58:55 +00:00
Robin Dunn
32c1e977c6 fix earlier patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-06 01:58:45 +00:00
Robin Dunn
baca577355 fix earlier patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-05 04:36:35 +00:00
Robin Dunn
68ea7237ce Py3 and Phoenix fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-04 16:10:17 +00:00
Robin Dunn
c9ce5cad60 Add wxIcon(const wxBitmap& bmp) constructor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-04 06:34:38 +00:00
Robin Dunn
07f4a344f5 Ensure rgb values are integers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-04 06:34:30 +00:00
Robin Dunn
68368c6ad2 Fix some compilation errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-01 20:20:17 +00:00
Robin Dunn
c41aaa9054 Transfer ownership in DataViewEvent.SetDataObject
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-01 20:20:08 +00:00
Robin Dunn
1d3f61e31c Add some docstrings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-01 20:19:59 +00:00
Robin Dunn
3963c15cd7 TRansfer ownership of the parameter in wx.MenuItem.SetSubMenu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-01 20:19:50 +00:00
Robin Dunn
690685edcf Some Py3 fixes for wx.py.filling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-01 20:19:42 +00:00
Robin Dunn
e0df072bb6 A Phoenix API fix for wx.lib.agw.thumbnailctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-01 20:19:32 +00:00
Robin Dunn
b11b5a6960 Allow the windows build slave to do two builds at once.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-01 20:19:22 +00:00
Robin Dunn
e1e3870e09 fix typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-01 20:19:13 +00:00
Robin Dunn
2ce1645016 Rename script used by test_process...
...so it is less likely to be picked up by auto-testers as a unittest.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-01 20:19:02 +00:00
Robin Dunn
c84f2ef3e0 fixes for the dataview samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-18 21:15:53 +00:00
Robin Dunn
59f984375f Check if the colour string is not empty before trying to pull something out of it. See #15210.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-18 21:15:40 +00:00
Robin Dunn
f88cc75eec DIRCTRL_CHANGED --> DIRCTRL_SELECTIONCHANGED
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-17 15:55:25 +00:00
Robin Dunn
ba06b9e625 Add tests for SetMin SetMax
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-16 18:08:03 +00:00
Robin Dunn
0297c02a7e Use an existing bitmap file so tests will pass
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-14 02:54:05 +00:00
Robin Dunn
a9f3859f3e Floatcanvas docs and test updates from Werner
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-14 02:53:56 +00:00
Robin Dunn
16fdd105fa Some language and formatting tweaks for the readme,
hopefully making some of the long drawn out sentences easier to understand.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-14 02:53:44 +00:00
Robin Dunn
afcebe6210 I copied the same file twice, remove the extra and add the missing one.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-04 22:31:20 +00:00
Robin Dunn
bec4835bbd fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-04 22:26:10 +00:00
Robin Dunn
31ecbfd79c fix usage of wrong wx.Font ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-04 22:26:02 +00:00
Robin Dunn
78303a24d0 Fix circular imports by delaying the import of framemanager in auibar and auibook until it is needed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-04 21:51:47 +00:00
Robin Dunn
d9868d28d4 Add more pubsub unittests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-04 21:51:37 +00:00
Robin Dunn
0b84f453ce - Fix Py Events to clone properly from derived classes by implementing some Python magic in an overridden Clone() method.
- Update unittests accordingly.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-04 04:46:16 +00:00
Robin Dunn
ddf667c288 fix some typos, add a bit more text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-04 02:01:07 +00:00
Robin Dunn
cd92ea7a90 Improve build.py command and option help text.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-04 02:01:00 +00:00
Robin Dunn
e2990f4078 Change README .txt to .rst, add lots more info.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-04 02:00:52 +00:00
Robin Dunn
5077a51507 write temp file to unittests folder, and remove it when done
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-04 02:00:44 +00:00
Robin Dunn
d7df8cd7b8 More pubsub test updates from Werner
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-04 02:00:34 +00:00
Robin Dunn
1447c3d50a More FloatCanvas updates from Werner
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-04 02:00:24 +00:00
Robin Dunn
ede298e62e Modified patch from Maxim Kolosov for Py3 fixes in wx.py
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-04 02:00:13 +00:00
Robin Dunn
6a41de705a Patch from Maxim Kolosov for Py3 fixes in agw.aui
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-04 01:59:58 +00:00
Robin Dunn
45e59df1c4 More Py3 and Phoenix fixes from Mariano Reingart.
Closes #15117

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-02 01:01:40 +00:00