Commit Graph

1108 Commits

Author SHA1 Message Date
Metallicow
581d68383c Add AUI_DOCKART_HINT_WINDOW_BORDER_COLOUR so it can be themed.
Hint window border color can be set now with AUI_DOCKART_HINT_WINDOW_BORDER_COLOUR

Optimizations:
Optimized venetian blind loop and removed unnecessary wxPoint to tuple in Paint method wx.Rect
2020-08-04 16:01:20 -05:00
Robin Dunn
8b670176d2 Merge pull request #1754 from DKWoods/master
Address issue #1753, fix FloatCanvas GUIMode GUIZoomIn and GUIZoomOut…
2020-07-31 20:52:52 -07:00
DKWoods
b87a4d6ed8 Fixed Case issues with FloatCanvas.Zoom method 2020-07-29 22:28:47 -05:00
DKWoods
0e5cf66fe7 Address issue #1753, fix FloatCanvas GUIMode GUIZoomIn and GUIZoomOut behavior - Part 2 2020-07-27 17:07:15 -05:00
DKWoods
b615941ee1 Address issue #1753, fix FloatCanvas GUIMode GUIZoomIn and GUIZoomOut behavior 2020-07-27 16:16:20 -05:00
lmasini
4d34e6a4ba Added SetBackgroundColour to thumbnailctrl.py 2020-07-25 07:29:20 -07:00
Robin Dunn
5b248eb5f1 Merge pull request #1736 from Metallicow/Optomize-Colour-Brush-Pen
Optomize colour brush pen
2020-07-20 10:40:39 -07:00
Robin Dunn
d2a7b13075 Merge pull request #1735 from suurjaak/numberctrl_properties
Added Value-property for IntCtrl and FloatSpin
2020-07-20 10:40:20 -07:00
Metallicow
542a32c17d Optimize Colour Brush Pen
Use builtin Colours, Brushes, Pens where needed. They are faster.
2020-07-19 23:48:39 -05:00
Erki Suurjaak
4503e9fcf2 Added Value-property for IntCtrl and FloatSpin (fixes #1734). 2020-07-19 22:10:30 +03:00
Scott Talbert
238694ac83 Fix sized_controls SetSizerType for grid sizers
SetGrowableCol / SetGrowableRow seems to have never existed as far as I can
see, so it seems this bug has existed for a long time.

Fixes #1729
2020-07-19 11:11:28 -04:00
Robin Dunn
c00b8950da Spelling fixes in wx.lib 2020-07-14 12:53:31 -07:00
Robin Dunn
509b9fa95d Merge pull request #1685 from wxWidgets/fix-issue1683
Ensure the widget has the capture before releasing it
2020-06-17 09:10:37 -07:00
Robin Dunn
fac47514b9 Merge pull request #1674 from Metallicow/Optimize-auitoolbar-OnPaint-method-loop
Optimize auitoolbar OnPaint method loop
2020-06-17 09:02:49 -07:00
Robin Dunn
2f34c2e0c9 Ensure the widget has the capture before releasing it 2020-06-16 20:13:46 -07:00
Metallicow
64e86305a3 Avoid long line per request 2020-06-16 20:53:22 -05:00
Robin Dunn
3d3ea4f5ab Merge pull request #1676 from Metallicow/Optimize-AuiDefaultTabArt
Optimize AuiDefaultTabArt
2020-06-16 17:31:48 -07:00
Robin Dunn
b2ff4ef7b2 Merge pull request #1675 from Metallicow/Optimize-aui_utilities-TabDragImage-CreateBitmap-method
Optimize aui_utilities TabDragImage CreateBitmap method
2020-06-16 17:30:27 -07:00
Robin Dunn
648bc8a8ec Merge pull request #1673 from Metallicow/Optimize-auitoolbar-OnSize-method-loop
Optimize auitoolbar OnSize method loop
2020-06-16 17:26:46 -07:00
Robin Dunn
2c4aea15ff Merge pull request #1672 from Metallicow/optimize-auitoolbar-Realize-method
Optimize auitoolbar Realize method loop
2020-06-16 17:23:45 -07:00
Robin Dunn
bcd412049c Merge pull request #1671 from Metallicow/remove-wxPy-2.9-check
Remove wxPy < 2.9 check
2020-06-16 17:18:01 -07:00
Robin Dunn
ea681b6be5 Merge pull request #1670 from Metallicow/Optimize-auitoolbar-DrawGripper-loop
Optimize auitoolbar DrawGripper loop
2020-06-16 17:17:17 -07:00
Robin Dunn
ebbfab3f72 Merge pull request #1669 from Metallicow/Reduce-item.GetState()-calls-to-1
Reduce item.GetState() calls to 1
2020-06-16 17:16:02 -07:00
Robin Dunn
610f9268a4 Merge branch 'master' into Hide-page-removed-from-wx.AuiNotebook 2020-06-16 17:12:55 -07:00
Robin Dunn
dff720ccf3 Merge pull request #1666 from Metallicow/Optimize-away-an-unnecessary-extra-wx.AuiNotebook-DoSizing()-call
Optimize away an unnecessary extra wx.AuiNotebook DoSizing() call
2020-06-16 16:57:55 -07:00
Robin Dunn
1423191c31 Merge pull request #1667 from Metallicow/Remove-unused-variables,-unused-assignments-
Remove unused variables, unused assignments
2020-06-16 16:57:12 -07:00
Robin Dunn
23bf0f5853 Merge pull request #1659 from jmoraleda/pdfviewer_alpha_fix
Explicitly indicate that we don't want an alpha channel when rendering pdf image
2020-06-16 16:52:37 -07:00
Robin Dunn
509a82784b Merge pull request #1628 from topic2k/agw_framemanager_closed_pane_event
new event wx.lib.agw.aui.EVT_AUI_PANE_CLOSED
2020-06-16 16:36:38 -07:00
Metallicow
0d27739855 Optimize AuiDefaultTabArt 2020-06-08 14:13:29 -05:00
Metallicow
38a12075b0 Optimize aui_utilities TabDragImage CreateBitmap method
local opt list comprehension is faster
2020-06-08 11:52:05 -05:00
Metallicow
a6918a726d Optimize auitoolbar OnPaint method loop 2020-06-08 10:26:11 -05:00
Metallicow
babbd16559 Optimize auitoolbar OnSize method loop 2020-06-08 09:49:28 -05:00
Metallicow
d9dcc1d7f3 Optimize auitoolbar Realize method loop 2020-06-08 09:13:41 -05:00
Metallicow
4aaec57c99 remove single var also 2020-06-08 08:46:20 -05:00
Metallicow
9173bc479f Remove wxPy < 2.9 check 2020-06-08 08:39:21 -05:00
Metallicow
e7022230ae Optimize auitoolbar DrawGripper loop 2020-06-08 08:13:26 -05:00
Metallicow
d710c0ffcc Reduce item.GetState() calls to 1
With a toolbar(s) with x amount of buttons reduce the number of calls from possibly 3-6 each iteration down to 1.
2020-06-08 07:14:58 -05:00
Metallicow
ca28d96a83 Hide page removed from wxAuiNotebook
It doesn't make sense to leave the page shown, and overlapping the
remaining pages, after removing it.

see acff8466a7
2020-06-08 02:02:54 -05:00
Metallicow
2fbac77fda Remove unused variables, unused assignments
see b5028f267d
2020-06-08 01:48:18 -05:00
Metallicow
4a78bfaa8c Optimize away an unnecessary extra wx.AuiNotebook DoSizing() call
There is no need to call DoSizing() again if it has just been called
from UpdateTabCtrlHeight().

See dca84c823c
2020-06-08 01:04:45 -05:00
Jorge Moraleda
d1f66f5513 Explicitly indicate that we don't want an alpha channel when rendering pdf pages
to account from the fact that the default on this parameter differs between
mupdf versions
2020-06-04 14:35:41 -07:00
topic2k
e00182f0f4 remove empty line 2020-05-21 08:32:56 +02:00
topic2k
18fcd49486 reduce code and use already existing method to fire event. 2020-05-21 08:31:12 +02:00
Robin Dunn
00d03bb10f Merge branch 'ulc_add_orientation_to_GetSrollPos' of https://github.com/topic2k/Phoenix into topic2k-ulc_add_orientation_to_GetSrollPos 2020-05-20 14:09:49 -07:00
Robin Dunn
9976b64d44 Merge pull request #1631 from topic2k/ulc_get_checked_item_count
[ULC] add method GetCheckedItemCount
2020-05-20 14:08:39 -07:00
Robin Dunn
d1acfb6593 Merge branch 'ulc_add_col-idx_to_event' of https://github.com/topic2k/Phoenix into topic2k-ulc_add_col-idx_to_event 2020-05-20 14:03:36 -07:00
Robin Dunn
21969cc1b2 Merge pull request #1629 from topic2k/ulc_fix_GetLineLabelRect
[ULC] fix calculation of line width
2020-05-20 13:51:20 -07:00
Robin Dunn
22e1a05941 Merge pull request #1627 from jmoraleda/issue_1364
Fix issue #1364
2020-05-20 13:23:19 -07:00
Robin Dunn
ed2e69eb46 Merge branch 'ulc_no_drag' of https://github.com/topic2k/Phoenix into topic2k-ulc_no_drag 2020-05-20 13:17:35 -07:00
topic2k
d690edb3af add method GetCheckedItemCount
Added a method to get the number of checked items.
2020-05-17 14:53:05 +02:00