Maarten Bent
4e5ecf866f
CMake: Always use CEF release library
2024-02-24 21:11:48 +01:00
Vadim Zeitlin
f6a1b1a18a
Show loading wxPropertyGrid from XRC in the sample
...
Demonstrate defining wxPropertyGridManager in XRC.
2024-02-03 22:03:17 +01:00
Maarten Bent
6b6c5f5378
CMake: Fix building webview sample with Chromium
...
The macOS code is based on the cefsimple example in the cef distribution.
2023-12-21 21:27:14 +01:00
Vadim Zeitlin
b6bfdd97c9
Merge branch 'master' into webview-chromium
...
Update to the latest master.
2023-08-30 02:03:00 +02:00
Vadim Zeitlin
bb4b667507
Add high DPI throbber GIF to CMake build system too
2023-08-28 02:17:04 +02:00
PB
241ed70b5b
Copy all data files needed by XRC sample when building with CMake
...
XPM files demonstrating the use of wxBitmapBundle in the XRC files
were not copied when building the XRC sample with CMake.
This should have been part of eaa769a (Use wxBitmapBundle in
wxBitmapComboBox XRC handler, 2022-02-09).
Closes #23612 .
2023-06-06 21:18:03 +02:00
Artur Wieczorek
ec25a5c83c
Execute automated tests for wxPropertyGrid
...
Move existing manually executed tests in propgrid sample to the test
suite executed automatically.
2023-01-30 17:28:17 +01:00
Vadim Zeitlin
164debb548
Don't compile cursor_png.c as part of the image sample
...
This file is included from image.cpp and is not supposed to be compiled
itself, this is just a waste of time and results in a (clang) warning
about unused variable defined in this file.
2023-01-06 00:58:05 +01:00
Vadim Zeitlin
d74c9e51da
Remove memcheck sample
...
This sample wasn't really useful and demonstrated functionality which
was disabled by default since many years and will be completely removed
soon.
2023-01-05 18:24:57 +01:00
Tobias Taschner
0adf31169d
Add advanced handler to webview sample
...
Demonstrate how to implement and use wxWebViewHandler::StartRequest()
2022-09-16 21:00:52 +02:00
Maarten Bent
13a82b3d67
CMake: Fix building tests and sample after making target includes private
2022-04-10 23:41:44 +02:00
dghart
101602da63
Update CMakeLists.txt
...
Add an xpm missed by commit 49fd3a22
2022-04-04 20:39:14 +00:00
PB
e5f195da33
Copy SVG files with samples
...
Add few recently added SVG files used for bitmap bundles in samples
also to bakefiles and CMakeLists.
Closes #22197 .
2022-03-17 23:48:01 +01:00
Alexander Koshelev
685e3af613
Use wxBitmapBundle in combo sample
...
Replace PNG files with SVG ones.
Closes #22103 .
2022-02-08 20:54:05 +01:00
Tobias Taschner
73d37d460d
Add tango art for refresh and stop
...
Use the added art IDs in webview sample
2022-02-01 09:50:32 +01:00
Vadim Zeitlin
2208f53ba3
Add wxART_WX_LOGO and use it in the webview sample
...
Embed SVG data of the wx logo into the library itself to make it
available to all wx programs, including the samples. This is a bit
wasteful, but <12KiB is not really noticeable compared to the library
size.
2022-01-23 15:40:04 +01:00
PB
ccb6b10c1f
Use SVG-based toolbar bitmaps in webview sample
...
In webview sample toolbar use wxBitmapBundles created from SVG files
instead of XPM bitmaps, as this results in much better appearance in
high DPI.
Closes #2642 .
2022-01-17 01:07:57 +01:00
Vadim Zeitlin
2435ceb2bb
Add a possibility to show SVG images to the image sample too
...
This is useful at least for demonstrating wx SVG support.
2021-11-29 12:55:22 +00:00
PB
f8dda6db65
Do not use calendar.rc for calendar sample in CMake
...
The file was removed in 16f2c7bb89 (Remove unused samples resource
files, 2021-10-20) merged as part of 3d5664cabe (Merge branch
'samples-dpi-v2-aware', 2021-10-25).
Closes https://github.com/wxWidgets/wxWidgets/pull/2565
2021-10-26 19:40:18 +02:00
Maarten Bent
4862cbd4c6
CMake: Allow to specify specific Info.plist.in file for samples
2021-08-17 21:50:48 +02:00
Vadim Zeitlin
febd185fc6
Merge branch 'web-request'
...
Add wxWebViewRequest and related classes allowing to use HTTPS and
HTTP/2.
See https://github.com/wxWidgets/wxWidgets/pull/977
2021-01-17 18:19:47 +01:00
Tobias Taschner
6d7f35090d
Removed macOS only wxWebKitCtrl
...
This macOS only class duplicated functionality and code of wxWebView.
2020-12-14 10:17:35 +01:00
Maarten Bent
b7450f52ff
Fixes to CMake build files for wxWebRequest
...
Fix wrong library name in wx_add_sample() for webrequest.
Also prefer to disable wxWebRequest if no backends for it are available,
for consistency with the other libraries.
2020-12-13 14:36:31 +01:00
Vadim Zeitlin
6bdab7b3c8
Merge branch 'master' into web-request
...
Merge with the latest master in preparation for merging into master.
Rebake to resolve conflicts in generated files.
2020-12-12 18:12:25 +01:00
Vadim Zeitlin
8e2aad2621
Merge branch 'webview_ie-js' of https://github.com/MaartenBent/wxWidgets
...
Fix using JavaScript in wxWebViewIE with custom scheme.
This repairs a regression in 3.1.4 due to the changes of 6787b0548b
(Merge branch 'webview-ie-fixes', 2020-07-23).
See https://github.com/wxWidgets/wxWidgets/pull/2004
2020-08-14 19:23:27 +02:00
Maarten Bent
cc12eafc34
CMake: fix name clash between folder and application
...
The test_gui project copies some resource files into image and drawing folders,
so don't use the same name for the sample applications.
2020-08-03 21:33:37 +02:00
Maarten Bent
dc585039bb
CMake: copy resources required for webview sample
2020-07-28 21:19:25 +02:00
Vadim Zeitlin
ff24484952
Add wxUSE_MENUBAR to CMake too
...
For now there is no dependency on wxUSE_MENUS when using CMake.
2020-07-14 18:16:59 +02:00
Maarten Bent
ba3fd12efb
CMake: fix linking the DLL sample in monolithic build
2020-05-17 20:01:03 +02:00
Maarten Bent
0f806ad96d
CMake: use wx prefix in library names
...
Rename all library targets to start with wx. This way it does not use generic
names like base or core that could interfere with other libraries that add
include the wxWidgets project.
2020-05-17 20:01:02 +02:00
Maarten Bent
498b79d619
CMake: copy data of widgets sample to correct directory
2020-05-17 20:01:02 +02:00
Maarten Bent
c96014db27
CMake: install toucan.png with widgets sample
...
It is used on the StaticBitmap page.
2020-04-10 00:51:17 +02:00
Maarten Bent
136a43f033
Fix building display sample without wxUSE_DISPLAY
2019-11-21 23:43:04 +01:00
PB
33da780ecf
Add sample code showing how to create a new wxEvent class
...
In the event sample, show how create and use a new
wxEvent-derived class.
Closes https://github.com/wxWidgets/wxWidgets/pull/1633
2019-11-16 00:56:23 +01:00
Olly Betts
b3ef78124c
Remove the flash sample
...
Adobe have announced the official EOL for flash is 2020 so we're
now at the point where support for flash just isn't interesting
any more.
It doesn't make sense to support it for the upcoming 3.2.x release
series, and the sample .swf files are lacking source code.
Closes https://github.com/wxWidgets/wxWidgets/pull/1427
Closes #15886 .
2019-07-18 17:48:23 +02:00
Maarten Bent
0665db6c1d
CMake: Fix html zip sample dependency check
2018-12-12 20:28:41 +01:00
Tobias Taschner
1090e8f6e9
Add webrequest sample application
2018-12-10 19:37:14 +01:00
Maarten Bent
e984857b0e
CMake: Improve webview checks
...
Try to match behavior of configure.
Fix building webview sample with STC disabled.
2018-12-03 00:20:38 +01:00
Maarten
a36868b391
CMake: only enable flash sample for MSVC
...
Fixes a regression from 1dfe088b .
See https://github.com/wxWidgets/wxWidgets/pull/974
2018-10-10 23:53:38 +02:00
Maarten Bent
1dfe088b4d
Support WXQT in CMake
2018-09-30 17:23:57 +02:00
Maarten Bent
53dbff2962
CMake: Fix building dialogs sample
...
Add the source files of the generic dialogs to the project,
similar as is done in the bakefile.
See previous commits 573e887a4c and
6415bd553f , which partially reverted it,
for the full story.
2018-09-17 23:30:53 +02:00
Vadim Zeitlin
f71c4f55a3
Completely remove "adv" library from CMake build system
...
This build system is new and so doesn't need to keep "adv" for
compatibility.
2018-08-27 21:13:04 +02:00
Maarten Bent
0bf459de92
Fix typos and whitespace in CMake files.
2018-08-17 20:00:47 +02:00
PB
c93ccda035
Fix building docview sample with CMake
...
Should have been part of 64fc4dc
2018-07-06 12:33:59 +02:00
Maarten Bent
de4e20ee93
CMake: copy missing files for widgets sample
2018-05-17 19:34:34 +02:00
Maarten Bent
c103ab686c
CMake: Disable dialup sample in macOS
2018-03-23 22:00:29 +01:00
Maarten Bent
3ae0ca9d0e
CMake: Fix adding access and dll samples
2018-03-23 21:50:39 +01:00
Tobias Taschner
b4359ca33d
CMake: Enforce C++11 for targets using CEF headers
2018-02-22 09:58:22 +01:00
Tobias Taschner
128ea47222
Check if webviewsample_chromium has been added
2018-02-21 10:12:26 +01:00
Tobias Taschner
0e98a92d31
Enable CEF CMake Linux build
2018-02-20 20:34:01 +01:00