Commit Graph

22 Commits

Author SHA1 Message Date
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
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
Metallicow
01f8f09f60 Trim trailing space samples directory 2016-12-05 16:34:47 -06: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
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
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
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
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
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