Commit Graph

492 Commits

Author SHA1 Message Date
Metallicow
3be3859c21 advancedsplash font fix 2016-10-06 22:34:21 -07:00
Metallicow
e875cfbdb9 auqabutton phoenix fix 2016-10-06 22:34:21 -07:00
Mesalu
a75b042f5d Added check for mgr in close procedure
Added to resolve the following error:
Traceback (most recent call last):
  File "/users/dunnsa/lib/python3.5/site-packages/wx/lib/inspection.py", line 278, in OnClose
    self.SaveSettings(self.config)
  File "/users/dunnsa/lib/python3.5/site-packages/wx/lib/inspection.py", line 431, in SaveSettings
    perspective = self.mgr.SavePerspective()
AttributeError: 'InspectionFrame' object has no attribute 'mgr'


Still not sure why this happening, and I'm more inclined to believe it a fault in my TLW's close process. 
However it has happened on two different machines (both wxGTK) under a normal user close event.
2016-10-03 13:34:18 -07:00
Robin Dunn
a2cb50fd15 Handle case where cairo.CAPI is not able to be imported 2016-09-23 19:22:50 -07:00
Robin Dunn
4e990745ca Restore wx.lib.rcsizer, it is still used in a couple places in wx.lib 2016-09-23 19:07:14 -07:00
topic2k
842714478b fix MultiMessageDialog (wx.BitmapFromIcon removed) 2016-09-17 17:34:41 +02:00
David Hughes
04a03c716a dcgraphics.py, bezier.py and vec2d.py no longer needed for rendering to printer DC
wx.GraphicsContext, Cairo.GraphicsContext and MuPDF page-Pixmap can now be
created directly in a printer DC in pdfviewer.py (unlike originally in 2009).
Cacheing of page bitmaps now removed - jerky scrolling no longer observed.
SetZoom modified to stay on the same page after scale changed.
2016-09-06 12:48:30 +01:00
Robin Dunn
21ee7043d0 Merge pull request #150 from RobinD42/cairo-DLLs
Cairo DLLs
2016-09-02 22:29:45 -07:00
David Hughes
4ca8c3e330 Disable ButtonPanel controls until PDF file chosen
Scale font metrics when rendering with Cairo (MSW only)
2016-08-24 17:52:35 -07:00
Robin Dunn
6758e3870a Slight improvement for the impl of the Borg design pattern. 2016-08-24 14:16:02 -07:00
Scott Talbert
6d45c406c3 Fix UltimateListCtrl traceback
Replace ULC's hand-implemented Clone() with an actual Clone() call.

Fixes #59.
2016-08-21 15:25:04 -04:00
Robin Dunn
35731aa913 Update docstring about the source of the Cairo DLLs 2016-08-17 14:46:43 -07:00
Robin Dunn
5a037d21e9 Try to ensure that the Cairo DLLs included with wxPython are the ones that cairocffi will use, or it can be overridden by setting CAIRO in the environment if desired. 2016-08-17 09:15:37 -07:00
Robin Dunn
66c9c541fb Clean up some duplicated code 2016-08-17 09:11:42 -07:00
Robin Dunn
ca34d719be Merge pull request #144 from swt2c/fix_topictreetraverser
Fix TopicTreeTraverser when doing breadth traversal on Python 3
2016-08-15 23:18:26 -07:00
Robin Dunn
bd371e6aab Merge pull request #137 from swt2c/fix_dockart
Fix dockart when not using the Windows XP theme
2016-08-15 23:15:00 -07:00
Scott Talbert
cf59ae09fb Fix TopicTreeTraverser when doing breadth traversal on Python 3
Python 3 orders maps differently from Python 2, so sort the subtopics before
traversing them like is done with depth traversal.
2016-08-16 00:15:36 -04:00
Scott Talbert
6f026ab75f Fix dockart when not using the Windows XP theme 2016-08-13 20:19:00 -04:00
Robin Dunn
ffcc23cb60 Change "~lib" --> "~wx.lib" in agw 2016-08-12 14:57:10 -07:00
Robin Dunn
b4233d9299 Fully qualify names for more links. 2016-08-12 14:53:29 -07:00
Robin Dunn
9d5e743e50 More minor demo fixes and updates for Py3, Phoenix, etc. 2016-08-10 15:56:04 -07:00
Robin Dunn
9fe03f7570 Remove some additional unused/outdated demo files 2016-08-10 15:55:21 -07:00
Robin Dunn
2e93343b6f Merge branch 'master' into wip-demo 2016-08-10 10:59:10 -07:00
Robin Dunn
ce00fc06a5 * Slight refactoring in wx/lib/plot/examples/demo.py
* Add a __init__.py
* Update the PyPlot sample in the main wxPython demo to use the new plot demo
2016-08-10 10:48:54 -07:00
Robin Dunn
56492c33c7 Merge branch 'master' into wip-demo 2016-08-09 23:07:38 -07:00
David Hughes
a0436a3b6b Updated intra-doc links to ensure fully qualified names 2016-08-05 16:03:43 +01:00
Robin Dunn
0e79905aa0 Don't set the hourglass cursor every time the diagram is redrawn. It can get real annoying. 2016-08-04 15:14:43 -07:00
Robin Dunn
33e3e8d32c Get rid of mvctree 2016-08-04 15:11:53 -07:00
David Hughes
56cad152d9 4 August 2016 Phoenix updates for wx.lib.pdfviewer and demo/PDFViewer
demo/viewer.py and viewer_basics.py removed - was demo of obsolete vtk
2016-08-04 11:26:08 +01:00
Robin Dunn
89795ee0d3 Use triple-double quotes for docstrings 2016-08-03 13:34:33 -07:00
Robin Dunn
579952f207 Pop event handlers, and change deprecated MoveXY method calls 2016-08-03 13:31:29 -07:00
Robin Dunn
1bdac0af63 wx.lib.editor fixes for Python3 2016-08-02 21:54:34 -07:00
Robin Dunn
aa9e47e0f5 More demo tweaks and fixes 2016-07-30 23:45:22 -07:00
Robin Dunn
fc2a9df989 Finish docs and other changes for wx.lib.graphics 2016-07-25 16:28:08 -07:00
Robin Dunn
83a134cab7 Some cleanup and beginning of docstring work in wx.lib.graphics. 2016-07-22 20:40:41 -07:00
Robin Dunn
de49506fca Fix table formatting 2016-07-22 20:37:21 -07:00
Robin Dunn
bb9431d49f typo and docstring updates 2016-07-22 18:53:28 -07:00
Robin Dunn
3145a1e8dd Cairo tweaks for GTK 2016-07-20 17:11:31 -07:00
Robin Dunn
7dd03f7fa7 doc tweaks 2016-07-20 17:11:31 -07:00
Robin Dunn
beb4cec4f3 A little style cleanup 2016-07-20 17:11:31 -07:00
Robin Dunn
f7d252f1be HDC fix for Windows 2016-07-20 17:11:31 -07:00
Robin Dunn
7ed47817ba * Refactor wx.lib.wxcairo to a subpackage.
* Add support for using cairocffi instead of PyCairo.
2016-07-20 17:11:31 -07:00
Robin Dunn
0628ade371 typos 2016-07-18 14:38:33 -07:00
Robin Dunn
f3cf957421 Switch to wx.lib.colourselect as the old one previously used here hard crashes on OSX. 2016-07-18 13:00:56 -07:00
Robin Dunn
a6262c53a9 * Switch ColourSelect to derive from GenBitmapButton as it looks and works better on OSX for this task.
* Fix docstrings
* Add a way to share custom colour values across instances or invocations of ColourSelect
2016-07-18 12:58:45 -07:00
Robin Dunn
122ad2559b fix imports, etc. in analogclock 2016-07-16 09:04:13 -07:00
Robin Dunn
67242fb6b4 Add a message dlg explaining how to see the demo samples. 2016-07-16 08:59:38 -07:00
Robin Dunn
128b28c879 Building the docs (build.py wxlib) imports all modules, so we need to avoid import side-effects like starting an application. 2016-07-16 08:58:52 -07:00
Robin Dunn
641aa6e251 Remove an old, unmaintained and broken module. 2016-07-15 17:15:18 -07:00
Robin Dunn
a1083594be Merge pull request #111 from dougthor42/refactor-lib.plot-part2
Additional Refactoring of lib.plot [Part 2: conversion to package]
2016-07-11 09:05:30 -07:00