Commit Graph

4785 Commits

Author SHA1 Message Date
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
139d889f25 Merge pull request #1665 from swt2c/wxvariant_longlong
Add support for longlong and ulonglong in wxVariant out helper
2020-06-16 16:55:32 -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
b3c5fa87b9 Merge pull request #1655 from swt2c/fix_customobj_setdata
Fix stack overflow when overriding wx.CustomObject.SetData
2020-06-16 16:43:59 -07:00
Robin Dunn
ed4ccc246b Merge pull request #1653 from swt2c/fix_checked
Fix event.Checked() calls in demo
2020-06-16 16:37:21 -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
Robin Dunn
3923a16606 Merge pull request #1680 from wxWidgets/nsvg_preserve_immutability_of_bytes
Preserve `bytes` immutability.
2020-06-16 16:34:31 -07:00
Robin Dunn
0395b3543f Merge pull request #1650 from swt2c/submenu_transfer_master
Set transfer flag for subMenu in MenuItem constructor
2020-06-16 16:33:33 -07:00
Mesalu
74b7ca8194 Update change log 2020-06-15 15:25:48 -07:00
Mesalu
7a9b0161c2 update generated c file 2020-06-15 15:24:23 -07:00
Mesalu
a614427893 Use correct cython boolean type 2020-06-15 15:00:25 -07:00
Mesalu
ecb78f75b1 Preserve bytes immutability.
`nanosvg` modifies its input strings in place (see: 9dd92bbfc6/src/nanosvg.h (L348)),
which will lead to issues attempting to use the same python `bytes` object multiple times. Since bytes objects promise immutability its undesirable to permit them to be modified like this.
To correct for this, we'll copy the bytes object into a new location in memory and pass that new memory location to nanosvg.
2020-06-15 13:34:05 -07:00
Scott Talbert
4c56d3b24e Ignore wxLongLong and wxULongLong overloads in PG interface
Fixes #1663.  With these overloads in place, EnumProperty's get created as
long long in the C++ side, which results in problems because wxWidgets expects
them to be plain longs.  Also ignore char* and wchar* overloads which are not
needed and cause problems for PyObjectProperty.
2020-06-10 15:51:36 -04:00
Scott Talbert
0c18353adb Add support for longlong and ulonglong in wxVariant out helper
Fixes #1299
2020-06-10 14:25:45 -04: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
Scott Talbert
5e190eb42e Fix stack overflow when overriding wx.CustomObject.SetData
In the implementation of wx.CustomData.SetData, we need to check the
sipSelfWasArg variable to determine whether to call the parent class
implementation of SetData.  To do this, we switched to using addCppMethod_sip
which allows us to access the sipSelfWasArg variable.  The sip generator
stuff for CppMethod_sip needed some additions to match the behavior of
CppMethod.
2020-05-31 13:43:32 -04:00
Scott Talbert
c38e5297bf Fix event.Checked() calls in demo
Fixes #1652
2020-05-28 17:34:34 -04:00
Scott Talbert
0e0b6b72a2 Set transfer flag for subMenu in MenuItem constructor
This fixes a crash when wx.MenuItem with a submenu.  Fixes #1648.
2020-05-27 11:53:57 -04:00
Robin Dunn
bda5fbefd7 Fix comment text in code snippet 2020-05-22 10:59:27 -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
e49398b59b wx.Clipboard.Flush now asserts on OSX instead of just returning False 2020-05-20 14:49:27 -07:00
Robin Dunn
5c0df63e28 Merge pull request #1643 from Metallicow/fix-STC-StartStyling-demo
Fix STC StartStyling Demo
2020-05-20 14:29:04 -07:00
Robin Dunn
713fa4a479 Merge pull request #1638 from efahl/patch-1
Eliminate deprecation warning
2020-05-20 14:15:16 -07:00
Robin Dunn
d5b233554d Merge branch 'topic2t push origin masterk-ulc_add_orientation_to_GetSrollPos' 2020-05-20 14:13:22 -07:00
Robin Dunn
18abfc65aa Add changelog entry 2020-05-20 14:12:47 -07: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
b3e7af0527 Merge branch 'topic2k-ulc_add_col-idx_to_event' 2020-05-20 14:04:15 -07:00
Robin Dunn
1922f91302 Add changelog item 2020-05-20 14:04:00 -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
0b6aec67ef Merge branch 'topic2k-ulc_no_drag' 2020-05-20 13:20:47 -07:00
Robin Dunn
3ba2e000ea Add changelog entry 2020-05-20 13:20:03 -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
Robin Dunn
433d013ad9 Merge pull request #1608 from jmoraleda/dvc_sample_remove_gtk_exception
Remove GTK exceptional handling in DVC Custom Renderer sample
2020-05-20 13:12:54 -07:00
Metallicow
a04e2927a9 Fix STC StartStyling Demo
Update indicator stuff to work with wxPy4.0 and 4.1 with scintilla version change
2020-05-19 02:38:08 -05:00
topic2k
d690edb3af add method GetCheckedItemCount
Added a method to get the number of checked items.
2020-05-17 14:53:05 +02:00
Robin Dunn
92fd2ea525 typo fix 2020-05-15 13:03:25 -07:00
Robin Dunn
88ff7b1697 Remove demo/version.py, it's a generated file. 2020-05-15 12:56:54 -07:00
Robin Dunn
cbf218d561 Stub out MSWSetTabStops for now 2020-05-14 17:04:37 -07:00
Robin Dunn
8dba98cdc3 Remove now unneeded tweak for the wxFontInfo ctor 2020-05-14 16:52:16 -07:00
Robin Dunn
213c68352d Add changelog entry for the DVC HasValue change 2020-05-14 16:51:19 -07:00
Robin Dunn
c84aa19c55 Update sample to to show DataViewModel.HasValue usage 2020-05-14 16:49:19 -07:00
Robin Dunn
a00c8ff447 AllowNone for wxDVCVariant, like wxVariant 2020-05-14 16:48:53 -07:00
Robin Dunn
9d3d2d3f43 Log the wx.DragResult names rather than just the integer value 2020-05-14 16:33:24 -07:00