Commit Graph

69 Commits

Author SHA1 Message Date
topic2k
873fd00a41 time.clock() is removed in Python 3.8
Two more places where `time.clock()` is called. Adopt the imports accordingly.
2019-09-15 12:55:34 +02:00
Robin Dunn
aa8711ce82 Add README file 2019-09-12 15:05:49 -07:00
Robin Dunn
5680b4adff wxPyConstructObject should be sufficient so wxPyMake_wxObject is no longer needed. 2019-09-12 14:58:07 -07:00
Robin Dunn
a2e12af3d8 Remove the hack for wx.CallAfter. A fix for wx.GetApp when embedding is on the way 2019-09-12 14:56:18 -07:00
Robin Dunn
1fa7200cbd Load sip.h from wxPython's include folder 2019-09-12 14:36:29 -07:00
Christoph Schmidt-Hieber
76dea0e4f7 Move ugly hack to even uglier location 2019-09-05 13:22:27 +02:00
Christoph Schmidt-Hieber
36789e3449 Improve robustness of looking up wrapped wxObject 2019-09-05 13:22:00 +02:00
Christoph Schmidt-Hieber
5ebabf4300 Update embedded sample for Linux (gtk3) 2019-09-04 15:52:44 +02:00
Christoph Schmidt-Hieber
1560cb648e Port embedded sample from Classic to Phoenix
Partly addresses issue #1336
2019-09-04 14:39:18 +02:00
Robin Dunn
221a98e902 Merge pull request #1223 from RobinD42/more-build-tweaks
More build tweaks

(cherry picked from commit d1b79db2a9)
2019-05-13 19:59:29 -07:00
Robin Dunn
fb4b52681b Add doodle sample
(cherry picked from commit bfd7bd588b)
2019-04-12 20:32:41 -07:00
Robin Dunn
6167177c1a Add a button to the mainloop sample to test wx.PostEvent
(cherry picked from commit 53219c9e00)
2019-02-27 12:59:17 -08:00
Metallicow
230bf5d6d3 Optimize All PNGs Nov2018
Since I had to fix a image issue and optimize it. I decided to rerun FileOptimizer 13.30.2393 over all pngs. Small bytes for some that had been optimized before, but this comit covers all pngs that may have been missed in the past. Maybe revisit running them all again in 2 years. Total time to process all pngs: approx 8 hours.
As technology improves this will only get better/faster when downloading, loading in browser, embedded, etc...
2018-11-13 16:08:12 -06:00
Robin Dunn
705aa63d75 Merge branch 'more-windowidref' into wxPy-4.0.x
(cherry picked from commit ada7b2fc51)
2018-06-25 19:12:00 -07:00
Robin Dunn
b77c88a280 Merge tag 'wxPython-4.0.2' into wxPy-4.0.x
(cherry picked from commit 4c56c39e52)
2018-06-17 22:04:22 -07:00
Craig MacEachern
41c0ceb3da Fix TypeError in samples/hello.py
The call to wx.StaticBitmap in hello.py produces a TypeError. The argument should be 'bitmap=bmp' not 'label=bmp'
2017-10-23 10:40:07 -04:00
Robin Dunn
b50b321d0e Fix some virtual method signatures 2017-04-25 14:37:50 -07:00
Robin Dunn
ac3282148b Update copyright in packaging and samples 2017-02-13 16:31:34 -08:00
Metallicow
01f8f09f60 Trim trailing space samples directory 2016-12-05 16:34:47 -06:00
Robin Dunn
73f0622bf6 Additional ribbonbar_demo tweaks and cleanup. 2016-08-23 14:29:32 -07:00
Scott Talbert
a3b10d5d63 Fix crash in ribbonbar sample
The ArtProvider shouldn't be cloned in this case because SetArtProvider() does
not take ownership of the object in this case.  Because of that, once the
cloned provider goes out of scope and gets garbage collected, future uses will
crash.

Fixes #141.
2016-08-20 23:16:39 -04:00
Robin Dunn
4397c220b3 Add ribbon sample app 2016-07-07 21:54:16 -07:00
Robin Dunn
350c1ad237 xrange --> range 2016-07-06 20:23:02 -07:00
Robin Dunn
871c3112ef Some Py3 fixes for roses sample 2016-07-06 20:23:02 -07:00
Robin Dunn
ed4756b902 Remove wx.lib.six and use the stock six module instead,
and add it as an installation dependency.
2016-06-30 20:07:57 -07:00
Werner F Bruhin
871241c66b - refactor of FloatCanvas package, unittest and demo run on Py27 and Py33 2014-06-05 11:09:18 +02:00
Werner F Bruhin
ca162ee926 - a few Py3 changes
- add tags
2014-05-26 12:58:45 +02:00
Robin Dunn
a7492f279e Just a little cleanup and comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-02-06 08:04:27 +00:00
Robin Dunn
c09f6cc652 Switch back to wx.FFont
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-02-06 08:04:09 +00:00
Robin Dunn
784673e690 PR 44 (modified): fixes print statements/functions in samples.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-15 08:13:12 +00:00
Robin Dunn
ea390ff6d1 Use the panel for the combo ctrl’s parent.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-14 02:35:00 +00:00
Robin Dunn
4a6e7786d6 Add the roses sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-20 01:08:28 +00:00
Robin Dunn
b88756456f Enable the use of the WIT in the simple sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-20 01:07:29 +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
9dcfa69ca0 Add missing image for floatcanvas sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-02 01:00:58 +00:00
Robin Dunn
9ad818a4a7 turn off execute property, ensure native eol.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-30 05:31:31 +00:00
Robin Dunn
7bc7aaf7f8 Floatcanvas samples updates for Phoenix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-30 05:19:51 +00:00
Robin Dunn
c7cd5d5fe9 Add the FloatCanvas demo modules
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-26 07:04:14 +00:00
Robin Dunn
6b67dec655 Add a button handler to the sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-24 02:42:45 +00:00
Robin Dunn
a5a76820ca cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-24 02:42:19 +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
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
b97f34604c Update samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-02-12 05:13:09 +00:00
Robin Dunn
d9f802f384 Fix EndEdit to use the newvalue/None as the return value instead of bool and a parameter pass-through.
Add first grid sample.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-02-12 05:12:59 +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
422814f88b Add html2 (WebView) classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-27 01:23:10 +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
431b09c5a2 Add wx.glcanvas
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-09 04:39:42 +00:00
Robin Dunn
932d7a6166 Add the raw bitmap access classes and various bits of magic.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-08-16 00:46:13 +00:00
Robin Dunn
abe37b16d5 Add a simple dialog-only example
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-14 21:37:12 +00:00