100 Commits

Author SHA1 Message Date
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
Robin Dunn
b265aa59f5 Display the bitness of the python used to run the sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-12 23:59:58 +00:00
Robin Dunn
679da63bf8 Just use Fit() instead of a fixed size, and center the frame just for grins.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-12 09:32:00 +00:00
Robin Dunn
1d36dea112 make the frame a little taller
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-12 09:19:17 +00:00
Robin Dunn
96e2a11324 Copy simple.py from Classic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-11 08:50:02 +00:00
Robin Dunn
a63873386e remove debug print
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-23 00:44:44 +00:00
Robin Dunn
da6957254c * Allow ExitMainLoop to be overridden.
* Add wxGUIEventLoop.
* Add a mainloop sample.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-23 00:44:30 +00:00
Robin Dunn
d5d284a4e6 Add wx.ComboCtrl and wx.ComboPopup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-06 01:14:57 +00:00
Robin Dunn
b41df0b779 Many, many (many!) changes needed to build and run the Phoenix extension modules with Python 3. Where possible changes were made such that the code works with both Python 2.7 and 3.2 without conditionals. In general the following types of changes were made:
* Changed imports to use either absolute or explicit relative imports.  Implicit relative imports are no longer allowed.

 * Changes to accomodate standard library classes or modues moving to other locations, or being removed entirely.

 * Changes related to print becoming a function, execfile being removed, u'' no longer allowed, and other syntax related issues.

 * Working around C APIs that have changed or simply vanished. (PyInt, PyString, PyBytes, etc.)

 * Dealing with text file objects using strings vs binary file objects using bytes, auto-encoding, and etc.

 * Replacing the use of PyCObject with PyCapsule and dealing with an apparent bug where PyCapsule objects can't be imported from submodules within a package.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-24 23:28:02 +00:00
Robin Dunn
4d61dc78a8 Add overlay classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-19 06:22:42 +00:00
Robin Dunn
146d38aa1b Add the various print framework classes and a printing sample application.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-21 00:07:56 +00:00
Robin Dunn
5490349f39 Regardless of the command-line flag there are a few methods that should always release the GIL, those that are expected to block or to take a long time. Add the annotations now in case I ever decide to change the default again.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-23 03:20:08 +00:00
Robin Dunn
f738327be2 We can do lots more than just an app and a frame these days, so let's do more in our Hello World sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-21 21:10:23 +00:00
Robin Dunn
bca8d2f784 A little cleanup and tweaking
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-25 04:24:41 +00:00
Robin Dunn
d949d1dad1 * Update version number
* Since they are almost always needed for window classes, move the calls to
  removeVirtuals and addWindowVirtuals into the fixWindowClass and
  fixTopLevelWindowClass functions.

* Add wxWithImages to the interface headers and create wrappers for it and use
  it as a base of wxBoockCtrlBase.

* Add a new wx.deprecated() function that can handle properties and classes in
  addition to callables. It issues a custom warning, wxPyDeprecationWarning
  since the stock DeprecationWarning is filtered out by default in Python 2.7.

* Deprecate PyWindow and similar aliases

* Deprecate wx.Window.SetDimensions


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-11 00:33:10 +00:00
Robin Dunn
849e0427fc * Switch to Py2.7 for the default Python to build with.
* Print wx.version() from the tests to help ensure we're using the version of wxPython we thing we are.
* Set the sub-release number to a larger value to help keep it separate from classic wxPython.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-06 16:28:59 +00:00
Robin Dunn
5e89a9606d Change the package name from wxPhoenix to wx
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@68979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-03 02:39:18 +00:00
Robin Dunn
0628e885d1 print the version at startup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-27 20:51:02 +00:00
Robin Dunn
dbed101ca5 add some more testing code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-27 19:03:48 +00:00
Robin Dunn
212f1ff9f0 Gobs and gobs of changes, and tons of progress made. Can now create a wx.App, show a wx.Frame, run the MainLoop, bind event handlers and dispatch the events to the handler! YeeHa!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-17 08:08:24 +00:00