Commit Graph

159 Commits

Author SHA1 Message Date
Robin Dunn
35bfbb4b01 Bump version number, add alpha tag 2017-02-14 19:37:03 -08:00
Robin Dunn
02d191cb7e Update copyright in src 2017-02-13 16:31:56 -08:00
Robin Dunn
20580bda6e tweak comment a little 2017-02-03 17:01:56 -08:00
Robin Dunn
c2a63a93f4 Using the NoTypeName annotation solves the wxLongLong_t issue 2017-01-22 19:50:45 -08:00
Robin Dunn
2c2e00dbe0 Various fixes and (hopefully temporary) workarounds for using the newest version of sip 2017-01-21 18:26:12 -08:00
Robin Dunn
7696944dbd Change where wxPyNoAppError is initialized. 2017-01-21 18:16:57 -08:00
Robin Dunn
665248ee2d Add wxPyNoAppError, and exception to be used when the application object hasn’t been created yet. 2017-01-21 13:23:23 -08:00
Robin Dunn
4a008f8f45 Add wxPyCheckForApp API function 2017-01-20 22:05:28 -08:00
Metallicow
c6ed20e00d Trim trailing space src directory 2016-12-05 16:39:14 -06:00
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