Commit Graph

796 Commits

Author SHA1 Message Date
Robin Dunn
0ef7667e18 Merge pull request #1200 from pkienzle/master
python 2/3 compatible file handling in wx.py

(cherry picked from commit 1c51bc0de8)
2019-05-13 21:29:08 -07:00
Robin Dunn
b2d5aeb97a Merge pull request #1202 from pkienzle/issue-1156-pywxrc
Fix wx/tools/pywxrc for py2/3 compatibility. Refs 1156.

(cherry picked from commit 2f6e88ffee)
2019-05-13 21:27:39 -07:00
Robin Dunn
8b88b13cb1 Compensation for scrollbar width on GTK is no longer needed. 2019-05-13 19:45:11 -07:00
Robin Dunn
24453e6e82 Merge pull request #1122 from kg-2/patch-1
Update FCObjects.py
(cherry picked from commit 1d427573b3)
2019-01-03 21:59:54 -08:00
Robin Dunn
d3deff2ed8 Merge pull request #1096 from Metallicow/aui-fixes-Dec2018
Aui fixes dec2018
2018-12-21 14:44:18 -08:00
Robin Dunn
a0c909c7b1 Merge pull request #1111 from a358003542/master
toasterbox.py
(cherry picked from commit cb1488a295)
2018-12-21 14:21:46 -08:00
Robin Dunn
13a65438ae Merge pull request #1110 from jensgoe/fix_newline_tokenize
ignore newline added by Tokenize module since Python 3.6
(cherry picked from commit 7876de4a32)
2018-12-21 14:19:06 -08:00
Robin Dunn
621c138987 Merge pull request #1100 from jensgoe/fix_fancytext_setY
fixed argument assignment
(cherry picked from commit 3a83977348)
2018-12-21 14:15:00 -08:00
Metallicow
ffd286db8b TabNavigatorWindow Improvements
Makes TabNavigatorWindow Draggable and Resizable similar to other programs that have these. Annoyance fixes mainly if having many items or long names. Also option to popup at mouse pos instead of centre.

This can be demo'd in the agw aui demo as smart tabbing.
2018-12-03 03:17:10 -06:00
Metallicow
64dd594d72 Remove "2.9" version check stuff
According to Robin "Classic" wont be updated anymore so this isnt shouldnt be needed in "Phoenix"
2018-12-03 03:14:53 -06:00
Robin Dunn
1c085eea1e Merge pull request #1087 from cbeytas/master
Fix bugs in CustomTreeCtrl and HyperTreeList
(cherry picked from commit e5d24078fd)
2018-11-30 15:00:22 -08:00
Robin Dunn
46b81b96e1 Merge pull request #1082 from Metallicow/Fix-Image-Issues
Fix image issues
(cherry picked from commit 1f735769a1)
2018-11-30 15:00:22 -08:00
Robin Dunn
2e1f703356 Merge pull request #1088 from mickp/FixSortForDisplay
Don't try to compare Colours in SortForDisplay.
(cherry picked from commit cfed8387fd)
2018-11-30 15:00:21 -08:00
Robin Dunn
79b64126d9 Merge pull request #1066 from garibarba/master
Fix bug due to type mismatch.

(cherry picked from commit 68dcd7872a)
2018-11-08 20:24:35 -08:00
Metallicow
212a05dcc6 Fix flickering with boxes/lines drawn on colorcube/wheel images 2018-11-08 04:40:17 -06:00
Robin Dunn
c3bdf0af09 Merge branch 'wxPy-4.0.x' into fix-issue1032 2018-10-26 18:14:01 -07:00
Robin Dunn
ebb3de75ed Merge pull request #1057 from RobinD42/fix-issue1025
fix test suite errors in wx/py/tests
2018-10-26 18:10:08 -07:00
Robin Dunn
7e904dca15 Ensure colours set in TreeItemAttr are instances of wx.Colour 2018-10-26 13:27:09 -07:00
Robin Dunn
e4d716eb37 fix test suite errors in wx/py/tests 2018-10-26 11:55:56 -07:00
Robin Dunn
776ddbab3d Fix tickmarks when there is a negative bounds 2018-10-26 10:41:00 -07:00
Robin Dunn
73e13bf5f7 Merge pull request #1050 from mesalu/fix_1049
CustomTreeCtrl and HyperTreeList fixes

(cherry picked from commit da9f69c380)
2018-10-24 20:02:28 -07:00
Robin Dunn
8045b3ade2 Merge pull request #1048 from SilverViking/master
Fixed bug with image in floatcanvas incorrectly getting rescaled to zero width and height during frame resize.

(cherry picked from commit cb77b7cf89)
2018-10-24 20:01:57 -07:00
Felipe Calliari
9b01306497 fix DeprecationWarnings in frame.py (#1043)
This commit solves the following messages:
    DeprecationWarning: Menu.Append() is deprecated

(cherry picked from commit 94e9a38085)
2018-10-24 20:01:18 -07:00
Robin Dunn
d9b25fdc80 Move wxpy_api.h to wx/include/wxPython, so it will be included in the wheel 2018-10-11 12:15:37 -07:00
Robin Dunn
83a2e2c476 Merge branch 'master' of git://github.com/wingel/Phoenix into wingel-master 2018-10-03 19:29:28 -07:00
Robin Dunn
ab77101eab Removed wx.lib.floatbar, which has been deprecated forever and probably
hasn't been working in nearly as long.
2018-09-27 19:55:51 -07:00
Robin Dunn
764a0ef788 Merge pull request #1019 from Jenyay/ultimatelistctrl_doc
Fix example of using UltimateListCtrl in docstring

(cherry picked from commit 3034644a01)
2018-09-27 17:37:24 -07:00
Robin Dunn
f33caca23c Merge pull request #970 from pieleric/pywxrc-fixes
Small fixes to pywxrc

(cherry picked from commit 1e32a05ae2)
2018-09-25 15:22:59 -07:00
Robin Dunn
f277d5990f Merge branch '40xcustomtreectrl' of git://github.com/HelioGuilherme66/Phoenix into HelioGuilherme66-40xcustomtreectrl 2018-09-25 15:08:38 -07:00
Robin Dunn
cbc7ef5b8f Merge pull request #1017 from Jenyay/fix_1014
Fix HyperText width and mouse events (#1014)
2018-09-25 13:44:27 -07:00
Robin Dunn
6bc9a7389e Merge pull request #1011 from Jenyay/master
Fix cells drawing after HyperText

(cherry picked from commit fee9120e67)
2018-09-25 13:36:37 -07:00
Robin Dunn
659c7fd9ad Merge pull request #1005 from garibarba/patch-1
Replace deprecated PIL.Image.tostring()

(cherry picked from commit 59e80b44d0)
2018-09-25 13:21:17 -07:00
Robin Dunn
456273bff0 Merge pull request #978 from davidmashburn/master
Fixes save/ load bugs Pyslices

(cherry picked from commit 808db28bff)
2018-09-25 13:16:12 -07:00
HelioGuilherme66
8a011423dc Merge branch 'wxPy-4.0.x' of https://github.com/wxWidgets/Phoenix into 40xcustomtreectrl 2018-09-13 13:42:41 +01:00
Robin Dunn
4ee7039b28 Merge pull request #986 from cykerway/master
Fix event bindings in docview.

(cherry picked from commit 698099f654)
2018-09-12 18:16:42 -07:00
HelioGuilherme66
b5150bae5f Merge branch 'wxPy-4.0.x' of https://github.com/wxWidgets/Phoenix into 40xcustomtreectrl 2018-09-02 13:11:52 +01:00
Robin Dunn
1bd1edbe32 Combine drawing of vertical lines into one operation per group of subitems. 2018-08-29 20:54:15 -07:00
HelioGuilherme66
6ba059e5f9 Merge branch '40xcustomtreectrl' of github.com:HelioGuilherme66/Phoenix into 40xcustomtreectrl 2018-08-15 17:31:47 +01:00
Mesalu
55c51b2570 Fix #957 (#960)
Round RGB values to integers for creating the `wx.Colour`
(cherry picked from commit 5c68798d0c)
2018-08-13 22:06:00 -07:00
Mesalu
babea6ff13 Fix 959 (#962)
Fix IO type in wx.lib.agw.thumbnailctrl
* Update thumbnailctrl.py
* Update CHANGES.rst

(cherry picked from commit 10baff1d24)
2018-08-13 22:05:26 -07:00
HelioGuilherme66
83d729c6e3 Adds a the parameter on_the_right, defaulted True,
to allow positioning the Window in a CustomTreeItem.

Changed CustomTreeCtrl.py (demo) to show image on right or left of text.
Addded an animated gif to a checkbox item.
To test SetItemWindow new parameter on_the_right, just activate/deactivate
the "Use image Window left of label" checkbox on left panel.

Updated documentation and version.
2018-08-10 00:53:47 +01:00
Robin Dunn
e2008b4a2c Merge pull request #948 from SimoB/patch-1
Missing tool_id parameter in AddToggleTool
(cherry picked from commit 75024ee88e)
2018-08-04 16:38:47 -07:00
Robin Dunn
6630520a8a Ensure the sequence attribute is a list by default, not a range, so it can be appended to. 2018-07-30 16:02:37 -07:00
Robin Dunn
ca69574298 Merge pull request #942 from mesalu/fix_941
Fix 941
(cherry picked from commit 98fb3125eb)
2018-07-30 15:44:48 -07:00
Robin Dunn
8886acb306 Issue a deprecation warning when importing wx.lib.pubsub 2018-07-19 16:12:44 -07:00
Robin Dunn
0d125913a0 Copy official PyPubSub version 3.3 into wx/lib/pubsub 2018-07-18 10:46:22 -07:00
Robin Dunn
a41b8cd70f Revert "Merge branch 'mesalu-pubsub4' for PR-792"
This reverts commit cb77c7be8e, reversing
changes made to 4a90db1c3b.
2018-07-18 10:44:16 -07:00
Christer Weinigel
3e740b5945 Update AuiToolBar orientation in AuiManager.DoUpdate
Fix an issue in wx.lib.agw.aui.AuiManager where the orientation of
an AuiToolBar would not be updated when calling LoadPerspective.

This means that if the orientation of the toolbar can be wrong after
calling LoadPerspective.  Example:  The toolbar has been moved by
the user to the right side of the aui widget so that it is oriented
vertically.  SavePerspective is called to save the arrangement of
the aui panels before the application exits.  When the application
starts up the toolbar is created in the default position and is
oriented horizontally.  LoadPerspective is then called to restore
the saved panel arrangement.  The position of the toolbar will be
restored but the orientation will be still horizonal after the
call, which is probably not what the user expects.

A call to SwitchToolBarOrientation in DoUpdate (which is called
by LoadPerspective) has been commented out since the AuiManager
class was imported into wxPython way back in 2009 so I have been
unable to find out why it was commented out.  Removing the comment
makes the above scenario work properly.  I have done some quick
testing of the change and it does not seem to break anything.

Fixes #917
2018-07-14 03:03:54 +02:00
Robin Dunn
2fcc312249 Merge branch 'wxPy-4.0.x' into fix-issue902 2018-07-04 00:44:53 -07:00
Robin Dunn
8107296d96 Fix missing import 2018-07-04 00:35:26 -07:00