50 Commits

Author SHA1 Message Date
Alexandre Detiste
0257f755cf remove most of Python2 compatibility code 2025-02-02 20:17:45 -05:00
belono
37dcdcad57 Fix rubberband not clearing DC on redraw 2025-01-06 20:00:26 -05:00
Jorge Moraleda
40f8595a0c Add support for frozen rows and columns to GridWithLabelRenderersMixin 2023-07-09 21:50:38 -04:00
komoto
ef8f887618 Remove TE_RICH2 style
to avoid selection disappearing on a second focus
(of the same format item).
2022-09-11 13:07:58 +09:00
komoto
11f7c42c8d Fix OpenEditor offset to integer 2022-09-11 12:58:15 +09:00
Carsten Grohmann
5eef583d7c Fix docstring layout for ColumnSorterMixin.GetSortState() 2022-08-22 20:47:55 +02:00
Christian Clauss
25ba122168 Fix typos discovered by codespell 2021-08-07 18:55:49 +02:00
Robin Dunn
9bef374ecf Give a warning about CheckListCtrlMixin's redundancy 2020-10-13 15:56:04 -07:00
Robin Dunn
732ff6752b Revert "Spelling fixes in wx.lib"
This reverts commit c00b8950da.
The spelling changes were a bit too aggressive.
2020-08-31 13:01:31 -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
Robin Dunn
c00b8950da Spelling fixes in wx.lib 2020-07-14 12:53:31 -07:00
Per A. Brodtkorb
fc1823315b Fixes issue # 1554:
Replaced "== None" and "!= None" with "is None" and "is not None", respectively, because the former is slower and error-prone.
2020-03-23 11:53:36 +01:00
Robin Dunn
9f2cc54b48 Update copyright years 2020-03-10 11:41:39 -07:00
Robin Dunn
384cc82709 Compensation for scrollbar width on GTK is no longer needed.
(cherry picked from commit 8b88b13cb1)
2019-05-13 19:45:47 -07:00
jgehw
f028640215 fix optical grid appearance
- fixed optical appearance of row labels w.r.t. simple 3D effect
- fixed helpers for determining size (becomes important if you subclass a label renderer spanning multiple rows or columns)
2018-10-15 17:50:12 +02:00
Robin Dunn
b77c88a280 Merge tag 'wxPython-4.0.2' into wxPy-4.0.x
(cherry picked from commit 4c56c39e52)
2018-06-17 22:04:22 -07:00
Robin Dunn
6453684bc3 Keep existing height of edit widget, and move the activation to a call-after 2018-05-30 17:01:59 -07:00
Konstantin Bolshakov
42969c1aec Fix GDI Leak in CheckListCtrlMixin
The mixin creates and sets a wx.Imagelist which doesn't get destroyed and thus is leaking 4 GDI Objects on every run. Changing SetImageList to AssignImageList fixes this. An alternative solution would be binding the wx.EVT_WINDOW_DESTROY Event and calling the Destroy-method manually.
2018-02-16 10:52:55 +01:00
Robin Dunn
9c253cfca4 TextEditMixin fixes for lost new text value in the end edit event 2017-11-17 16:18:29 -08:00
David Hughes
fbf274b031 Altered is True and is False conditions in CheckListCtrlMixin 2017-11-14 10:46:31 +00: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
Andrew Murray
2cfe4ad989 Fixed typos 2017-02-26 14:15:49 +11:00
Robin Dunn
c9e99b54b0 Update copyright in wx/lib 2017-02-13 17:06:07 -08:00
Metallicow
f728e50aa8 Trim Whitespace mixins directory 2016-10-12 22:41:15 -05:00
swprojects
e592026a34 update listctrl
change xrange to range
2016-07-09 21:13:41 +01:00
Robin Dunn
cc3190e240 Lots more docstring refs fixed 2016-07-06 20:20:10 -07:00
Robin Dunn
ed4756b902 Remove wx.lib.six and use the stock six module instead,
and add it as an installation dependency.
2016-06-30 20:07:57 -07:00
Scott Talbert
a57bec2e71 Add support for building with GTK3 2016-02-29 20:22:58 -05:00
Robin Dunn
bcbdcd9631 Remove more CVS $Id$ and $Revision$ tags, and a bit of code that uses them.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-02-11 03:35:32 +00:00
Robin Dunn
571668a23f Remove the old CVS $Id: tags.
They don't work in git, and don't work by default in SVN either.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-02-09 02:39:35 +00:00
Robin Dunn
bbeef1173c Fix wxPython.lib —> wx.lib in file header comments.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-14 05:55:14 +00:00
Robin Dunn
16a50d33ca The rest of PR 36. Loop optimizations in ListRowHighlighter.RefreshRows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-14 02:34:51 +00:00
Robin Dunn
2ef0524e42 Part of PR 36 from Metallicow. Py3 and Phoenix updates for maskededit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-11 21:40:20 +00:00
Andrea Gavana
ba83beaedd wx.lib on Phoenix: modify treemixin.py to allow CustomTreeCtrl support since the switch to the agwStyle keywork argument.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-09 21:40:18 +00:00
Robin Dunn
9f24505715 Merge of PR 11 with the whitespace-only changes omitted.
See https://github.com/RobinD42/Phoenix/pull/11

Mostly phoenix-port changes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-10 01:15:34 +00:00
Robin Dunn
48a7ecdd85 Remove all BeginDrawing/EndDrawing calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-13 07:43:45 +00:00
Robin Dunn
945dea973b Some mixin listctrl Phoenix Fixes.
Some mixin listctrl Phoenix Fixes.
Trim Tailing Space

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-13 07:15:03 +00:00
Robin Dunn
a83c11396f Doc updates from Werner, fixing some class/meth links.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-10 18:49:46 +00:00
Robin Dunn
4bbf5c2bee Merge pull request #1 from wernerfb/master
Small doc correction

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-06 15:57:04 +00:00
Robin Dunn
e1e3870e09 fix typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-01 20:19:13 +00:00
Robin Dunn
45e59df1c4 More Py3 and Phoenix fixes from Mariano Reingart.
Closes #15117

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-02 01:01:40 +00:00
Robin Dunn
3f4fe92c4d Patch to fix Py3 issue with wx.lib.mixins.listctrl.
- type instance checking (types.StringType)
- unicode vs str comparisions

Closes #15164

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-26 06:40:54 +00:00
Robin Dunn
b85f0fd8e6 Phoenix patch from Werner for the inspection modules.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-10 00:05:41 +00:00
Robin Dunn
4d5de5dcf6 Some phoenix-port work for the WIT.
Probably more still needs to be done, but this is enough to get simple tests working.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-03 02:12:06 +00:00
Robin Dunn
3a5ce237de Fix wx.FindWindowAtPointer wrapper to return the point parameter in addition to the window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-03-07 05:22:27 +00:00
Robin Dunn
5302d40852 Patch from Ramin Sabet to update masked modules for Phoenix and Py3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-02-16 03:24:37 +00:00
Robin Dunn
247673201b Copy (branch) wx.lib, wx.py and wx.tools from Classic, and include subpackages branched from 3rdParty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-13 01:36:07 +00:00
Robin Dunn
a30dfe91e2 I wasn't ready to add this yet.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-22 21:29:15 +00:00
Robin Dunn
c8c2e1d97b set svn:eol-style to native
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-22 21:02:42 +00:00