Commit Graph

723 Commits

Author SHA1 Message Date
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
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
7e904dca15 Ensure colours set in TreeItemAttr are instances of wx.Colour 2018-10-26 13:27:09 -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
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
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
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
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
Robin Dunn
0ea6f19bad Switch wx.lib.plot to use a warning class derived from a new wx.wxPyDeprecationWarning so it doesn't need to enable all warnings by default. 2018-07-03 21:10:28 -07:00
Robin Dunn
8b3fbec576 Merge branch 'agw_aui_4.0.x' of https://github.com/tianzhuqiao/Phoenix into tianzhuqiao-agw_aui_4.0.x 2018-07-03 20:38:43 -07:00
Robin Dunn
30cbd37a73 Merge pull request #899 from mesalu/fix_898
Use pre-determined `LONGTYPE` rather than `long`
(cherry picked from commit 480a798859)
2018-06-29 10:47:19 -07:00
Tianzhu Qiao
9691df6fdf Add flag to hide page in notebook. 2018-06-27 19:36:24 -07:00
Robin Dunn
93ad41092b wx.Window.NewControlId --> wx.NewIdRef 2018-06-25 14:17:37 -07:00
Robin Dunn
440dba3c58 Merge branch 'agw_aui_4.0.x' of https://github.com/tianzhuqiao/Phoenix into tianzhuqiao-agw_aui_4.0.x 2018-06-23 10:31:33 -07:00
Robin Dunn
336e39f5b2 wx.NewId() --> wx.ID_ANY or wx.Window.NewControlId() as appropriate
(cherry picked from commit b1b0c9e297)
2018-06-19 12:06:14 -07:00
Tianzhu Qiao
a4764db66e Sort pages by dock_pos when added to automatic notebook. 2018-06-16 21:01:46 -07:00
Robin Dunn
4535cdcf33 Merge branch 'wxPy-4.0.x' into release-prep 2018-06-13 19:15:13 -07:00
Tianzhu Qiao
d844857f00 Always reset floating size and style when floating a toolbar in agw.aui. 2018-06-07 18:30:09 -07:00
Robin Dunn
b410f5e570 Update copyright years --> 2018 2018-06-06 10:59:51 -07:00