Commit Graph

150 Commits

Author SHA1 Message Date
Robin Dunn
c9b878a676 Lots more additions for propgrid:
* Update wxWidgets docs for propgrid/props.h and propgrid/advprops.h
* Add etg scripts for propgrid/props.h and propgrid/advprops.h
* Add wxUniChar
* Add wxTextValidator
* Add wxULongLong
2016-08-25 21:26:50 -07:00
Robin Dunn
aa2d0de125 Finish PseudoDC wrappers, and update the demo. 2016-07-29 16:39:29 -07:00
Robin Dunn
1b82b0cf04 Message fix in wx.deprecated 2016-07-28 19:52:13 -07:00
Robin Dunn
b269afd58c Begin adding PseudoDC 2016-07-27 16:13:13 -07:00
Robin Dunn
23acabb32a fix space typos 2016-07-18 12:59:22 -07:00
Robin Dunn
786d806906 Move wxPyClientData and wxPyUserData declarations to wxpy_api.h 2016-07-05 16:13:14 -07:00
Robin Dunn
2355ceb198 Use fullname on constants in the converted text 2016-06-04 14:44:08 -07:00
Robin Dunn
a8f6d6961d Move axbase to an etg script, add tests 2016-05-17 10:45:05 -07:00
Robin Dunn
a823a32524 Add axbase with wxPyAxBaseWindow 2016-05-14 23:14:37 -07:00
Robin Dunn
5751b9296e typos 2016-05-13 20:15:54 -07:00
Robin Dunn
6f0eb5e441 Add missing wxPyInt_FromSsize_t 2016-05-08 08:20:23 -07:00
Robin Dunn
04b0b3fe43 Fix typo 2016-05-07 19:16:28 -07:00
Robin Dunn
f01198bcc4 Merge pull request #68 from swt2c/fix_wacky_ints
Fix wacky ints (mainly for Py2.7 / Win64)
2016-05-07 18:36:08 -07:00
Scott Talbert
02b4bb28e7 Fix wacky ints (mainly for Py2.7 / Win64)
The 'wacky ints' tests were failing on Win64.  It seems that the PyLong_XX
functions don't work correctly there on Py 2.7.  The solution was to switch to
the PyInt_XX functions, which will correctly return a PyLong when necessary.
2016-05-07 13:27:37 -04:00
Robin Dunn
aa41158c9d Merge pull request #50 from swt2c/fix_getxwindow_gtk3_crash
Fix crash when calling GetHandle() on unrealized window with wxGTK3
2016-05-02 21:16:16 -07:00
Scott Talbert
69af9e3fb0 Fix crash when calling GetHandle() on unrealized window with wxGTK3
Unlike GDK_WINDOW_XWINDOW(), GDK_WINDOW_XID() seems unable to handle NULLs,
so check for a NULL first.  This is similar to a patch I submitted for Classic:
http://trac.wxwidgets.org/ticket/16765
2016-03-12 13:37:54 -05:00
Robin Dunn
23e69cb9b8 Some cleanup and comments 2016-03-09 21:10:08 -08:00
Robin Dunn
2078c55af7 Use a MappedType for wxIntPtr and wxUIntPtr too. 2016-03-09 20:29:12 -08:00
Robin Dunn
e69accaa9f * Deal with wxIntPtr and wxUIntPtr with a typedef (for now?)
* Add wacky_int tests
* Some cleanup
2016-03-08 22:49:57 -08:00
Robin Dunn
7f380e43a0 Add some notes 2016-03-04 21:35:08 -08:00
Robin Dunn
cb701bd77e Reinstate the size_t MappedType with compile-time bit size checking
Replace the use of size_t in custom code with ulong so SIP doesn't try to use the MappedType there (it only uses pointers for them.)
2016-03-04 21:05:46 -08:00
Robin Dunn
2c0ba84396 size_t experiments 2016-03-04 14:51:59 -08:00
Scott Talbert
a57bec2e71 Add support for building with GTK3 2016-02-29 20:22:58 -05:00
Robin Dunn
75ba21e45c Add mapped type for wxVariantList 2015-03-04 17:14:26 -08:00
Robin Dunn
d5f4aefd4b Add typedef for wxLongLong_t and wxULongLong_t 2015-03-04 17:13:49 -08:00
Robin Dunn
801a569412 cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@77979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-10-08 04:34:00 +00:00
Robin Dunn
6907bb85de Only use CallOnInit the first time, otherwise the 2nd wx.App will block when being constructed. Fixes hang in unittests.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@77977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-10-08 04:33:41 +00:00
Robin Dunn
e5f72d8bb0 Use CallOnInit so the extra housekeeping on wxOSX_cocoa will be performed, and apple events will be able to be processed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@77975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-10-08 04:33:23 +00:00
Robin Dunn
537133ebf7 Add stub OSXIsGUIApplication for non-mac platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-12-29 08:25:32 +00:00
Robin Dunn
1240a709b8 minor refactor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-09-06 04:40:49 +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
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
5a958ff03b Small tweak and tests to allow using objects supporting only the old buffer interface to be used as buffer sources.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-27 02:49:08 +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
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
636315e20e Fix deprecated decorator.
Don't pass empty **kw to callables, it can confuse the arg parser in some cases.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-10 00:06:18 +00:00
Robin Dunn
312ea3deb0 The newevent module still needs to use PyEvent and PyCommandEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-02 03:57:18 +00:00
Robin Dunn
3bc802fa93 Switch to using atexit for calling the cleanup function when Python terminates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-01-31 02:51:07 +00: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
e93e1676d5 Remove the self-reference to the wx package from the wx package namespace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-18 23:01:54 +00:00
Robin Dunn
84c453ef2c Add missing increment of the pixel iterator for the wx.BitmapBufferFormat_RGBA format
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-30 22:28:56 +00:00
Robin Dunn
8c9583fdca little comment fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-27 01:21:49 +00:00
Robin Dunn
db9351e83a Use PyObject_RichCompareBool instead of PyObject_Cmp, for Python3 compatibility and because it's a better API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-17 22:43:48 +00:00
Robin Dunn
aacc033a6d Add the rest of the dataview classes, lots of unittests and supporting helpers and MappedTypes.
Update existing dataview and variant classes and MappedTypes to add missing features and such needed for Classic compatibility and full coverage of the API.

Add some samples ported from the Classic demo so the DVC and related classes can be seen in action.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-17 22:22:20 +00:00
Robin Dunn
8c0fb1c8f6 Move the wxVariant helpers to the API so they can be reused elsewhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-17 22:20:26 +00:00
Robin Dunn
26f513301e Expand the number of value types supported by the wxVariant mapped type, including plain PyObjects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-17 22:19:35 +00:00
Robin Dunn
68ce1c5a02 Add wxPyWrappedPtr_TypeCheck API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-17 22:19:10 +00:00
Robin Dunn
e38c8527e0 Move wx.PyEvent and wx.PyCommandEvent to etg objects so the doc builder will see them.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-03 01:22:55 +00:00
Robin Dunn
06b02a6277 Add wx.stc.StyledTextCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-10-27 03:16:14 +00:00
Robin Dunn
0ba81ceb62 typo fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-10-23 17:19:56 +00:00