Paul Cornett
993334c48a
Avoid clipping wxCheckBox focus indicator on GTK3
...
GtkCheckButton "outline" is drawn outside of widget's allocation with Adwaita theme
See #18353 , #18043
2019-03-12 10:11:20 -07:00
Stefan Csomor
f163578c94
macOS expose scroll invertion in event
...
applied patch from #18358 , thanks for the patch Andy
2019-03-12 12:22:41 +01:00
Jouk
593257ea05
Link tiff library as shareable image on OpenVMS
2019-03-12 08:20:16 +01:00
Jouk
bd47bca4f6
Link tiff library as shareable image on OpenVMS
2019-03-11 17:04:11 +01:00
Juha Sointusalo
b5e7b0a621
Allow specifying optional libraries with WX_CONFIG_CHECK
...
wx-config has --optional-libs command line option for requesting linker
flags for libraries that an application could optionally use but might
not be available in current wxWidgets build.
Make this feature available to Autoconf macro users.
Closes https://github.com/wxWidgets/wxWidgets/pull/1256
2019-03-11 00:44:10 +01:00
milotype
7a5e649b9e
Add Croatian translation by Milo Ivir
...
Closes http://www.wxwidgets.org/about/translations/
2019-03-11 00:42:52 +01:00
Cătălin Răceanu
ca68cd50f2
Do not explicitly set selection to -1 when deleting all pages
...
Avoid calling wxNotebook::SetSelection(-1) when the notebook is cleared.
Closes https://github.com/wxWidgets/wxWidgets/pull/1254
2019-03-11 00:37:26 +01:00
Stefan Csomor
bb27020ab3
macOS do not show font panel in context menu unless wxTE_RICH|2
...
fixes #18357
2019-03-10 18:57:57 +01:00
Stefan Csomor
099de4ecab
Guarding call to wxOSXDrawNSImage with a valid m_cgContext
...
Fixes #18356
2019-03-10 09:54:08 +01:00
Artur Wieczorek
e8395fb88c
Fix typo in documentation
2019-03-09 18:59:56 +01:00
Artur Wieczorek
86af7d5ee9
Get rid of unnecessary overriding function
...
OnValidationFailure() in derived class wxEnumProperty has the same implementation (empty body) as the implementation in the base class wxPGProperty so overriding this function in derived class is not necessary.
2019-03-09 18:57:56 +01:00
Artur Wieczorek
47bba8764a
Fix drawing invalid wxPGProperty
...
Invalid wxPGProperty needs to be redrawn after setting wxPG_FL_CELL_OVERRIDES_SEL because this flag
is used to select proper colors to mark property as invalid.
This order of operations is important under e.g. wxMSW when redrawing with DrawItemAndChildren() is done immediately.
Closes #18351 .
2019-03-09 18:57:11 +01:00
Vadim Zeitlin
5a78b82673
Add support for passing nullptr to wx pseudo-vararg functions
...
Allow passing literal nullptr as an argument corresponding to "%p" in
the format string.
See https://github.com/wxWidgets/wxWidgets/pull/1251
Closes #18355 .
2019-03-09 01:14:31 +01:00
iwbnwif
f33ee85566
Fix printing 64 bit pointers in wxMemStruct code
...
Don't truncate addresses under Win64 when printing debug messages using
wxMemStruct.
This avoids build errors if wxUSE_DEBUG_CONTEXT = 1 when building on
Win64.
Closes https://github.com/wxWidgets/wxWidgets/pull/1249
2019-03-07 14:39:37 +01:00
Vadim Zeitlin
63c08fada5
Merge branch 'uri-path-fixes'
...
Minor fixes for parsing URLs in wxURI.
See https://github.com/wxWidgets/wxWidgets/pull/1239
2019-03-07 14:35:44 +01:00
Paul Cornett
d4b4b3c48c
Fix non-Unicode build
2019-03-06 09:49:04 -08:00
Paul Cornett
61d59dfc85
non-pch build fix
2019-03-06 08:49:05 -08:00
Vadim Zeitlin
d841f7b34e
Merge branch 'wxQt-memory-leaks' of https://github.com/catalinr/wxWidgets
...
Fix many memory leaks in wxQt port.
See https://github.com/wxWidgets/wxWidgets/pull/1243
2019-03-05 23:36:41 +01:00
David Connet
c2c3096530
Detect MSVS 2019 in msvc/wx/setup.h correctly
...
_MSC_VER 1920 should be detected as MSVS 2019, which corresponds to 14.2
toolset value, rather than 14.1.
2019-03-05 23:28:20 +01:00
Vadim Zeitlin
f670cf2d29
Remove stray CR characters from msvc/wx/setup.h
...
See 46ba9ca2f9
which accidentally added
them.
No real changes.
2019-03-05 23:25:34 +01:00
VZ
6374aef924
Use explicit constructor for better type restriction
...
Co-Authored-By: catalinr <catalinr@users.noreply.github.com >
2019-02-27 22:11:50 +02:00
Cătălin Răceanu
934698d8ac
Change Qt smart pointers with wx ones to fix compilation
2019-02-27 22:06:47 +02:00
Cătălin Răceanu
088d698c08
Don't give focus to a frame when clicking outside a focused child
...
Closes https://github.com/wxWidgets/wxWidgets/pull/1238
2019-02-27 17:17:06 +01:00
Cătălin Răceanu
66f6559a58
Replace accessor with an older version
2019-02-27 17:46:02 +02:00
Cătălin Răceanu
1578240b6e
Change a couple of data types and simplify code a bit
2019-02-27 17:42:01 +02:00
Cătălin Răceanu
113822d024
Change member variable type
2019-02-27 16:58:35 +02:00
Vadim Zeitlin
0b973fb357
Use critical alert style for wxICON_ERROR too in wxOSX
...
After the changes of 6b8b3ee379
we could
use NSCriticalAlertStyle for message boxes with wxICON_WARNING, if they
also has Yes/No or Cancel button, but never for wxICON_ERROR, for which
just NSWarningAlertStyle was used, which seems counterintuitive, so
change the code to use NSCriticalAlertStyle for either wxICON_WARNING or
wxICON_ERROR message boxes asking the user about something.
Closes https://github.com/wxWidgets/wxWidgets/pull/1242
2019-02-27 01:42:53 +01:00
Cătălin Răceanu
c00187eaeb
Do not leak menus and menu items
2019-02-27 02:07:06 +02:00
Cătălin Răceanu
82523b3d3b
Do not initialize base class variable and do not leak old allocation
2019-02-27 01:39:14 +02:00
Cătălin Răceanu
315a9460c0
Remove memory leaks by using smart pointers or explicit delete
2019-02-27 01:12:03 +02:00
Cătălin Răceanu
dc4854f916
Do not reallocate base class member, which also led to a leak
2019-02-26 23:36:14 +02:00
Cătălin Răceanu
e6e6b1ea38
Do not initialize member variables of base classes
2019-02-26 23:32:38 +02:00
Cătălin Răceanu
d34017f656
Initialize member variable
2019-02-26 23:31:54 +02:00
Cătălin Răceanu
b91d2a93ee
Set sizer to the main frame and avoid leaking it
2019-02-26 23:21:13 +02:00
Cătălin Răceanu
595a9945b5
Do not leak the list of panes
2019-02-26 23:13:12 +02:00
Paul Cornett
0fc5413974
Call static functions directly
2019-02-25 23:53:51 -08:00
Paul Cornett
393d2c61a7
Fix -Wreorder warning
2019-02-25 23:52:53 -08:00
Paul Cornett
fb1a46b933
Remove test of always-true condition
2019-02-25 23:48:28 -08:00
Paul Cornett
1e753f97ba
Remove initializations which are the default value
2019-02-25 10:49:04 -08:00
Paul Cornett
7c3ce912e0
Use ctor-initializer rather than assignment for non-POD class members
2019-02-25 10:23:35 -08:00
Paul Cornett
8df0cfba2a
Use pre-increment on iterators
2019-02-25 09:20:44 -08:00
Paul Cornett
b5028f267d
Remove unused variables, unused assignments
2019-02-25 09:12:43 -08:00
Maarten Bent
ceee8d554a
Fix invalid iterator access in wxTaskBarButton
...
Iterators are invalid after they are deleted. Store the value before
deleting.
Reuse code of RemoveThumbBarButton.
Closes https://github.com/wxWidgets/wxWidgets/pull/1240
2019-02-25 15:12:45 +01:00
Paul Cornett
5c5f4eb32e
Fix format specifier type mismatch
2019-02-25 00:50:19 -08:00
Paul Cornett
60fb8f93cb
Check for self-assignment in operator=
2019-02-25 00:48:41 -08:00
Paul Cornett
90ecc401c0
Remove duplicate condition
...
wxICON_ERROR == wxICON_HAND
2019-02-25 00:44:02 -08:00
Paul Cornett
cd045cc490
Add missing break statements
2019-02-25 00:41:50 -08:00
Paul Cornett
5e3c39043d
Fix wxQT monolithic build on Linux
...
- Remove duplicate wxConsoleAppTraits::CreateEventLoop()
It's already defined for Unix as well as Windows
- Remove wxEventLoop AddSourceForFD() "override"
the base version is static and therefore clearly not meant to be overridden
2019-02-25 00:35:27 -08:00
Cătălin Răceanu
c6354696d4
Do not leak the sort proxy model
2019-02-25 00:00:39 +02:00
Cătălin Răceanu
cb74819562
Don't leak QApplication and command line arguments
2019-02-24 23:45:46 +02:00