Commit Graph

475 Commits

Author SHA1 Message Date
Robin Dunn
c3d5fdef81 - The keepReference hack is no longer needed for factory functions
- Add some missing DC methods
- minor fix in the GraphicsGradient demo

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-13 06:18:51 +00:00
Robin Dunn
8c1eb0970a Add MacCheckSpelling()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-13 06:17:21 +00:00
Robin Dunn
b0842a986d More unittests and fixes for issues found by the tests.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 23:37:23 +00:00
Robin Dunn
b1d10157b9 Add some __nonzero__ methods.
Fix some parameter names that conflict with Python reserved words.
Etc.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 23:35:54 +00:00
Robin Dunn
7d36253d08 Add even more richtext modules
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 23:34:27 +00:00
Robin Dunn
0a30cc5971 Add richtextprint module
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 23:33:51 +00:00
Robin Dunn
02298afeab Don't forget about the events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 23:33:19 +00:00
Robin Dunn
84cbb61a81 Add richtexthtml and richtextxml
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 23:32:50 +00:00
Robin Dunn
2273844303 Add richtextctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 23:32:17 +00:00
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
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
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
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
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
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
6d4555b60f Just return 0 from GetPixel if on wxGTK3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-02 01:01:17 +00:00
Robin Dunn
44d2706d76 TextCrtl events are now in textctrl.py
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-30 20:09:14 +00:00
Robin Dunn
6a3d15ec67 Add wxFontInfo, adapt to loss of one of the ctors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-30 20:09:05 +00:00
Robin Dunn
0fbe88f98d Keep GetParser public
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-27 02:49:17 +00:00
Robin Dunn
4991efd920 Oops, added GetParser to the wrong class...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-26 07:32:48 +00:00
Robin Dunn
162a6829be Add a CppMethod for GetParser
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-26 07:17:59 +00:00
Robin Dunn
98ffccc725 Switch to new shortened wxEventType names.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-26 07:04:50 +00:00
Robin Dunn
c80bd61bf4 Add new cell types.
Let the backend know about the virtuals that may be overridden in the cell classes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-24 02:42:36 +00:00
Robin Dunn
41bc74b057 Add error check after creating an instance of the tag handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-24 02:42:28 +00:00
Robin Dunn
f8fc11f5de woking on wxptag issues...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-24 02:42:09 +00:00
Robin Dunn
bdd04888a6 Move the rest of the EVT_TEXT binders to the textctrl module.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-20 21:17:08 +00:00
Robin Dunn
e3269e1ff8 Fix typo in FindItemById names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-17 02:52:23 +00:00
Robin Dunn
285b319d56 Add missing wxTextUrlEvent and EVT_TEXT_URL, EVT_TEXT_MAXLEN
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-17 02:52:16 +00:00
Robin Dunn
bea3258b0b Ignore the GetFirst/GetNext methods in wx.FileConfig so it will use the custom ones in wx.ConfigBase instead.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-13 01:46:09 +00:00
Robin Dunn
b0f18532d4 Fix Get[First|Next][Entry|Group] to work like they did in Classic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-12 04:02:07 +00:00
Robin Dunn
058ed937da wx.ComboBox fixes.
- disambiguate GetSelection by renaming an overload to GetTextSelection.
- add a SetTextSelection to go with it, but keep both original SetSelection overloads too.
- add deprecated SetMark/GetMark aliases.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-10 00:06:10 +00:00
Robin Dunn
d059507f76 Unit test for the debug module
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-05 04:05:08 +00:00
Robin Dunn
10a1ffb4bd Construct and ClassDef for wxXmlSubclassFactory instead of just inserting the text for the declaration.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-05 04:04:59 +00:00
Robin Dunn
a5a432fc1f WEB_VIEW --> WEBVIEW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-05 04:04:51 +00:00
Robin Dunn
984ef83099 Add a new wxDataViewItem ctor accepting an integer value.
Apparently sip used to auto-convert from int to void* but it doesn't anymore. Fixes #15135

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-05 04:04:38 +00:00
Robin Dunn
cf48eaed00 Ignore SetTextValidator since we don't wrap wxTextValidator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-04 01:47:36 +00:00
Robin Dunn
75a22d87a9 OnData has an implementation in wxTextDropTarget and wxFileDropTarget
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-03-31 17:14:31 +00:00
Robin Dunn
8967f52028 Add GetHFONT, OSXGetCGFont, and GetPangoFontDescription
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-03-28 00:15:30 +00:00
Robin Dunn
5d3107f69d Add #include of htmllbox.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-03-22 01:29:40 +00:00
Robin Dunn
7fb935cd43 Add HtmlListBox and SimpleHtmlListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-03-22 01:29:32 +00:00