Commit Graph

605 Commits

Author SHA1 Message Date
kollivier
1bf2a0bc13 After fixing AddChild in sized_controls, it appears to work with AGW's AUI now. 2017-09-13 16:17:48 -07:00
Robin Dunn
50836f4fd2 Merge pull request #531 from RobinD42/fix-issue528
Use integer division to find the item number.
2017-09-12 21:35:57 -05:00
Robin Dunn
7f62e587fb Merge pull request #530 from RobinD42/fix-issue526
Don't use the string module. Do use the new file dialog style flags.
2017-09-12 21:35:41 -05:00
Robin Dunn
839323a6a1 Use bitwise OR 2017-09-12 17:10:56 -07:00
Robin Dunn
5544bbfee8 Use integer division to find the item number. 2017-09-12 16:48:40 -07:00
Robin Dunn
d86795d884 Don't use the string module. Do use the new file dialog style flags. 2017-09-12 15:38:49 -07:00
kollivier
11f4bd2254 Merge branch 'master' of https://github.com/RobinD42/Phoenix into sized_controls_null_fix 2017-09-09 11:42:54 -07:00
kollivier
7b02784829 SizedControls null sizer check for AUI support. 2017-09-08 14:21:31 -07:00
Robin Dunn
e43ba1eec0 Suggest using pip to install numpy 2017-09-08 14:18:53 -07:00
Robin Dunn
989e15a1dd Set an initial frame size 2017-09-08 14:11:02 -07:00
Robin Dunn
77de0cfb7d Merge branch 'refactor-lib.plot-part3' of https://github.com/dougthor42/Phoenix into dougthor42-refactor-lib.plot-part3 2017-09-08 09:20:11 -07:00
Robin Dunn
9dac365fe5 Merge branch 'master' of https://github.com/bob-white/Phoenix into bob-white-master 2017-09-07 20:42:29 -07:00
Bob White
7b41a3e58f Using functools.cmp_to_key for old style sorts. 2017-09-07 12:15:38 -05:00
Robin Dunn
a1453d21d7 Merge branch 'master' into fix-issue503 2017-09-07 10:48:16 -05:00
Bob White
251f9d7d5a Fix for list.sort requiring keywords in python3.5
Python3.5 changed the parameters in list.sort to be keyword only
arguments.

This fixes all the instances I could find.
2017-09-07 09:35:33 -05:00
Robin Dunn
2e7a978055 Use functools.cmp_to_key for sorting children 2017-09-06 17:42:10 -07:00
Robin Dunn
81f8c41a24 Fix missing imports needed for drawing the legend 2017-09-06 16:54:03 -07:00
Robin Dunn
9439aebfee wx.GCDC is only badly needed on MSW, so just do it there. 2017-09-04 16:12:12 -07:00
Robin Dunn
5528f99640 Use a wx.GCDC on non-OSX platforms 2017-09-04 16:04:10 -07:00
Robin Dunn
6e7159eeaa Fix bad initial scale factor when default size is used 2017-09-04 15:59:37 -07:00
Robin Dunn
b9cc7194c9 Use the local TREE_HITTEST_ONITEMCOLUMN value 2017-08-08 18:56:13 -07:00
facelessuser
04c97c176d Fix reference before assignment
Fix issue where textWidth can be referenced before it is actually assigned.
2017-07-26 22:13:52 -06:00
Robin Dunn
a7038d507c AppendItem --> Append 2017-07-19 16:40:41 -07:00
Robin Dunn
fc10486740 Ensure there are at least 3 points in the list for DrawSpline 2017-06-30 13:22:31 -07:00
Robin Dunn
2d638bef3d Use GetIndex instead of m_itemIndex.
Ensure we have a widget before trying to Bind handlers to it.
Use InsertItem instead of InsertSringItem so the CheckListCtrlMixin monkey-patching will word correctly.
2017-06-20 10:50:40 -07:00
Robin Dunn
99cc9ccadf Since both cases need wx.BU_EXACTFIT, simplify it 2017-06-08 00:37:54 -07:00
Robin Dunn
51c6cea7b9 Use a generic button on OSX 2017-06-07 20:35:24 -07:00
Robin Dunn
8e1da1f2e0 Clear the bitmap with the white brush 2017-06-02 22:46:35 -07:00
Robin Dunn
a3af417f8f Fix the monkey-patch to use the new name of the real method 2017-06-02 22:43:21 -07:00
Paul McCarthy
72631cf7e8 More suppression of ClientToScreen warning message 2017-05-30 16:22:21 +01:00
Paul McCarthy
01cee04596 Make sure that AuiManager.UnInit always gets called when a managed window is
closed/destroyed.
2017-05-29 23:00:23 +01:00
Paul McCarthy
a28b4cc1fa Only run DoUpdate if the managed window exists. 2017-05-29 22:40:23 +01:00
Paul McCarthy
6eca1e7e23 Suppress ScreenToClient/ClientToScreen warnings when floating panes are moved
around
2017-05-29 22:40:10 +01:00
Paul McCarthy
fb8931a476 Fix GTK bugs in framemanager - some code assumes that AuiManager.Update() is
performed synchronously, but it is not under GTK.
2017-05-25 18:39:08 +01:00
Robin Dunn
cf02cd8ac4 Merge pull request #352 from pauldmccarthy/auifix
Extra check to avoid error under OSX when dragging AUI toolbars
2017-05-18 08:45:46 -07:00
Paul McCarthy
f9b2f30a3f Extra check to avoid error under OSX when dragging AUI toolbars 2017-05-09 16:59:23 +01:00
acollange
63293f83f5 Update framemanager.py 2017-05-09 17:35:10 +02:00
Robin Dunn
5348e369bc Stop the main timer when the toast is done, otherwise it will burn 2017-04-28 20:57:38 -07:00
Robin Dunn
5a669d5462 Change wx.SafeYield back to wx.YieldIfNeeded 2017-04-28 15:29:17 -07:00
Nutznieser
7a4848a12d Fix screen flickering due to multiple refreshes
The event is only important for GTK; see issue #270
2017-04-26 09:25:42 +02:00
Robin Dunn
9c9b66f220 Merge pull request #321 from Nutznieser/patch-1
Fix wx._core.wxAssertionError at dragging a agw.aui tab
2017-04-24 18:44:52 -07:00
Nutznieser
a2676ac03c Fix wx._core.wxAssertionError at dragging a tab
see issue #93
2017-04-23 20:05:57 +02:00
Paul McCarthy
ae0f6c55ea A couple of fixes to lib/agw/aui to prevent segfaults under OSX when
AuiNotebook tabs are closed.
2017-04-23 11:30:11 +01:00
Robin Dunn
30304bcc69 Merge pull request #311 from Metallicow/revert-hack
Revert customtreectrl hack
2017-04-20 08:59:35 -07:00
Metallicow
fa0001c49c Revert customtreectrl hack 2017-04-19 17:30:01 -05:00
Robin Dunn
58a8080952 Merge branch 'master' into release-prep 2017-04-13 21:29:05 -07:00
Robin Dunn
e8306ca7e0 Merge pull request #270 from acollange/patch-1
Update framemanager.py
2017-04-13 21:25:22 -07:00
Robin Dunn
a4e226c7fd Merge branch 'master' into release-prep 2017-04-13 20:51:26 -07:00
Christopher H.Barker, PhD
09223c530f added float() calls to get the proper divison when scaling bitmaps
In response to a note from Kevin Gregory:

""
Sorry to email you directly, I wanted to submit a bugfix for FloatCanvas ScaledBitmap. It changes the bmpWidth and bmpHeight from integers to floats so that the scale is computed correctly.
FCObjects.py line 2141 from the wxpython phoenix dev build
"""
2017-04-13 11:17:36 -07:00
acollange
78c4a7145e Update framemanager.py
Reactivate Update() functionality under GTK.
2017-04-12 09:11:33 +02:00