Vadim Zeitlin
38f8c200dd
Merge branch 'stc-simplify-width' of https://github.com/MaartenBent/wxWidgets
...
Remove some recently added unneeded code for wxSTC auto-complete listbox
(see https://github.com/wxWidgets/wxWidgets/pull/2250 ).
See https://github.com/wxWidgets/wxWidgets/pull/2277
2021-03-13 13:28:28 +01:00
Vadim Zeitlin
c88f23db3e
Merge branch 'doc_misc' of https://github.com/TcT2k/wxWidgets
...
Various wxWebView docs improvements.
See https://github.com/wxWidgets/wxWidgets/pull/2266
2021-03-13 13:27:00 +01:00
Vadim Zeitlin
cc97e69346
Apply Scintilla doc fixes to the correct files
...
Back-propagate the fixes of 28d705424b
(Fix double words and article
mismatches in docs., 2021-03-10) to interface/wx/stc/stc.h to the files
that this header is generated from to avoid losing these changes when
it's regenerated the next time.
See https://github.com/wxWidgets/wxWidgets/pull/2273
2021-03-13 13:17:51 +01:00
PB
1cb066364f
Fix ignored path for MSW sources for GitHub CI
...
Due to a copy&paste mistake the path wrongly included non-existing "wx"
folder.
Closes https://github.com/wxWidgets/wxWidgets/pull/2275
2021-03-13 13:13:05 +01:00
Vadim Zeitlin
1830128cbd
Merge branch 'ownerdrawn-checkbox-dpi' of https://github.com/MaartenBent/wxWidgets
...
Fix size of owner-drawn checkbox at non-standard DPI.
See https://github.com/wxWidgets/wxWidgets/pull/2274
2021-03-13 12:50:25 +01:00
Artur Wieczorek
2a536c359c
Fix visual state of enabled/disabled wxPropertyGrid
...
wxPropertyGrid needs to be refreshed while enabling/disabling to display
proper visual states of all wxPGProperty items.
2021-03-12 21:41:40 +01:00
Artur Wieczorek
02af9b0295
Add option to demonstrate disabled wxPropertyGrid in propgrid sample
2021-03-12 20:35:06 +01:00
Maarten Bent
7f278b7ff9
Remove unused function declaration in wxSTC ListBoxImpl
...
The implementation was already removed in de0992ea3d
(Implement wxSTCListBox
using wxVListBox, 2019-03-19).
2021-03-11 22:31:03 +01:00
Maarten Bent
5e6000a1ee
Simplify maximum width of wxSTC auto-complete listbox
2021-03-11 22:31:03 +01:00
Artur Wieczorek
c175155bad
Fix higlighting properties in wxPropertyGrid without focus
...
When wxPropertyGrid lost the focus all selected properties (not only
the first one) should be redrawn to present their non-focused state.
Closes #19094 .
2021-03-11 20:20:54 +01:00
Paul Cornett
679c3ef714
Avoid setting layout direction to wxLayout_Default in widgets sample
...
wxMSW doesn't support setting wxLayout_Default
2021-03-11 08:49:59 -08:00
Maarten Bent
47047a608a
Fix drawing undetermined state of owner-drawn checkbox
2021-03-10 23:54:12 +01:00
Maarten Bent
3a1576f74c
Fix size of owner-drawn checkbox at non-standard DPI
...
Get the correct size from wxRendererNative instead of wxGetSystemMetrics.
Simplify positioning the button and label rectangles.
Closes #19095
2021-03-10 23:54:11 +01:00
Blake Madden
28d705424b
Fix double words and article mismatches in docs.
2021-03-10 14:28:20 -05:00
Tobias Taschner
ecce094522
Document previously missing macOS wxWebView features
2021-03-09 22:13:15 +01:00
Tobias Taschner
b493970336
Apply suggestions from code review
...
Co-authored-by: VZ <vz-github@zeitlins.org >
2021-03-09 22:09:16 +01:00
Tobias Taschner
4e2b746ec2
Update wxWebView documentation
...
- Use subsections
- Unify layout of backend sections
- Refer to backends by consistent naming
- Remove Trident reference (while technically correct it's probably not very helpful for most)
- Add a warning to IE backend
- Add wxWebViewEdge doc
- Add missing event from wxWebViewEvent docs
2021-03-09 22:09:16 +01:00
Tobias Taschner
1e42ea4e97
Update some outdated notes from wxWebView docs
2021-03-09 22:09:15 +01:00
Tobias Taschner
406ade8038
Add wxWebRequest to libs page
2021-03-09 22:09:11 +01:00
Vadim Zeitlin
18edbe93f2
Merge branch 'webview_macos_missing' of https://github.com/TcT2k/wxWidgets
...
Implement various WebView macOS missing features.
See https://github.com/wxWidgets/wxWidgets/pull/2271
2021-03-09 21:45:19 +01:00
Vadim Zeitlin
2551df746d
Merge branch 'cmake-mono-webview' of https://github.com/MaartenBent/wxWidgets
...
CMake: fix monolithic build with webview.
See https://github.com/wxWidgets/wxWidgets/pull/2269
2021-03-09 21:44:27 +01:00
Václav Slavík
7228dbf50c
Merge branch 'fix-macos-listbox-looks'
...
Fix visual issues in wxCheckListBox on macOS.
Closes https://github.com/wxWidgets/wxWidgets/pull/2267
2021-03-09 18:46:42 +01:00
Václav Slavík
9e0a2c04a8
Don't truncate item text in wxCheckListBox on macOS
...
wxListBox's width adjustment code appears to have been written before
wxCheckListBox's existence, and still assumed there's only one column, at
index 0, in some places.
In wxCheckListBox, however, there are two columns, and column 0 is the
non-resizable checkbox one. We need to use column 1 (aka the last
column) for automatic width updates, because that's where the text is.
2021-03-09 18:38:59 +01:00
Tobias Taschner
4ab9ee32a8
macOS: Implement access to dev tools for wxWebView
2021-03-08 12:32:53 +01:00
Tobias Taschner
57fa1c52b7
macOS: Implement wxWebView fullscreen API
2021-03-08 12:32:48 +01:00
Tobias Taschner
3caf48b04c
macOS: Implement window.print() in wxWebView
...
A WKUIDelegate method has to be implemented to make
a javascript calling window.print() working.
2021-03-08 11:36:19 +01:00
Maarten Bent
0bb9cd004d
CMake: copy webview2 loader for monolithic build
2021-03-08 00:26:24 +01:00
Vadim Zeitlin
e9f619e561
Merge branch 'modules-cleanup'
...
Modernize wxModule code and add AreInitialized() function.
See https://github.com/wxWidgets/wxWidgets/pull/2268
2021-03-07 23:51:04 +01:00
Vadim Zeitlin
473be74ce0
Merge branch 'CI-more-ignored-paths'
...
Avoid starting AppVeyor/GitHub CI builds unnecessarily.
See https://github.com/wxWidgets/wxWidgets/pull/2263
2021-03-07 23:49:52 +01:00
Vadim Zeitlin
3c58e79339
Don't start CI builds for the changes to message catalogs only
...
We currently don't use these files in the existing builds.
It might be a good idea to add another GitHub Action workflow checking
the message catalogs compilation that would be executed _only_ for the
changes to them, but this can/will be done later.
2021-03-07 23:48:25 +01:00
Vadim Zeitlin
dfc1ae5de4
Ignore MSW-only changes for PR builds on GitHub CI too
...
This extends the grandparent commit to apply to pull requests and not
only to the master builds.
2021-03-07 23:47:27 +01:00
Maarten Bent
3198ed0b18
CMake: reset webview2 package dir if it does not exist anymore
...
And make the variable internal so it does not create an 'Ungrouped Entries' group in cmake-gui.
2021-03-07 22:06:46 +01:00
Maarten Bent
560656c699
CMake: do not use target webview in monolithic build
2021-03-07 22:06:46 +01:00
Vadim Zeitlin
5ddf57c150
Add wxModule::AreInitialized()
...
This internal function will be useful to check if the modules are
already initialized, i.e. if the library is in the "steady state"
between the end of the initialization and the beginning of the cleanup
phases.
2021-03-07 20:39:09 +01:00
Vadim Zeitlin
fbd23270e3
Remove CppUnit boilerplate from wxModule unit test
...
Also use wxString instead of fixed size char array and wxStrcat().
2021-03-07 20:39:09 +01:00
Vadim Zeitlin
e10e721120
Get rid of wxList and wxArray in wxModule code
...
Simply use wxVector instead, this shouldn't be less efficient (we rarely
remove the modules from the list and iterating over a vector should
actually be faster, as well as consuming less memory), but it avoids
ugly macros, is simpler to use and to debug and will be trivial to
replace with std::vector<> in the future.
No real changes, this is just pure cleanup.
2021-03-07 20:39:09 +01:00
Vadim Zeitlin
628514bcd3
Rename static wxModule::m_modules to use "ms_" prefix
...
No real changes, just use consisting naming convention.
Better late than never.
2021-03-07 20:39:09 +01:00
Václav Slavík
bc28cb42c2
Fix wxCheckListBox checkbox size on macOS
...
Decrease the size of checkbox column so that it's not downright
excessive.
2021-03-07 18:26:24 +01:00
Václav Slavík
1d23f7befe
Don't show focus ring on wxListBox
...
In native OS X apps, focus ring is not shown around NSTableView controls
(focus is indicated differently, with selection's color).
See eece498
for the same fix in wxDataViewCtrl.
2021-03-07 18:25:30 +01:00
Vadim Zeitlin
8d01aaf783
Make WebRequest::Get::Param unit test more forgiving
...
The simple test added in 59a8f26b01
(Add a unit test for wxWebRequest
query using URL parameters, 2021-03-06) worked when using httpbin.org,
but not when running httpbin locally, as it doesn't pretty-print JSON by
default.
Skip optional whitespace to make it work in both cases.
2021-03-06 14:44:56 +01:00
Vadim Zeitlin
bf8be6c58d
Merge branch 'mac-filedlg-improvements' of https://github.com/discnl/wxWidgets
...
macOS wxFileDialog improvements.
See https://github.com/wxWidgets/wxWidgets/pull/2234
2021-03-06 12:18:43 +01:00
Vadim Zeitlin
26635c2718
Merge branch 'webrequest-fix-param'
...
Fix URL parameters handling in WinHTTP wxWebView backend.
See https://github.com/wxWidgets/wxWidgets/pull/2264
2021-03-06 12:16:26 +01:00
Vadim Zeitlin
59a8f26b01
Add a unit test for wxWebRequest query using URL parameters
...
Check that passing URL parameters in the query string works as expected
(this was broken with WinHTTP backend until the parent commit).
2021-03-06 12:11:59 +01:00
Vadim Zeitlin
3c92573dd7
Recommend using wxStaticBox as parent more strongly
...
Not doing it, i.e. creating the window inside the static box as its
siblings, rather than children, may appear to work, but actually doesn't
always do it, for example the windows are not shown correctly when using
RTL locale.
Closes #19086 .
2021-03-05 22:53:27 +01:00
Artur Wieczorek
c1fa4cc7be
Refactor: Use dedicated Win API to modify RECT structures
2021-03-05 20:11:04 +01:00
PB
783244af21
Do not trigger build by change in any MD file
...
Co-authored-by: VZ <vz-github@zeitlins.org >
2021-03-05 19:41:05 +01:00
Vadim Zeitlin
39a46db345
Merge branch 'gtk-x-checks-simplify'
...
Simplify X11 checks and make them work when using Wayland-only GTK.
See https://github.com/wxWidgets/wxWidgets/pull/2261
2021-03-05 18:52:23 +01:00
Andriy Byelikov
b2d97d1393
Add support for English locale for Israel (en_IL)
...
This locale is recognized by glibc, so add it to the known locales
database.
Closes https://github.com/wxWidgets/wxWidgets/pull/2252
See #19082 .
2021-03-05 18:51:10 +01:00
Vadim Zeitlin
7bcac7bfde
Merge branch 'unix-default-locale'
...
Improve handling of default locale and other locale-related fixes.
See https://github.com/wxWidgets/wxWidgets/pull/2260
Closes #11594 .
2021-03-05 18:48:30 +01:00
Vadim Zeitlin
3701baecde
Merge branch 'webview_script_message' of https://github.com/TcT2k/wxWidgets
...
Add WebView script message and user scripts.
See https://github.com/wxWidgets/wxWidgets/pull/2237
2021-03-05 18:44:46 +01:00