1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-17 18:50:33 -04:00
ports/www/chromium/files/patch-ui_views_examples_widget__example.cc
Carlos J. Puga Medina 4931d3869a www/chromium: Update to 76.0.3809.100
Changelog: https://chromium.googlesource.com/chromium/src/+log/75.0.3770.142..76.0.3809.100?pretty=fuller&n=10000

Submitted by:	Matthias Wolf <matthias@rheinwolf.de>
MFH:		2019Q3
2019-08-12 10:39:48 +00:00

11 lines
527 B
C++

--- ui/views/examples/widget_example.cc.orig 2019-07-24 18:59:23 UTC
+++ ui/views/examples/widget_example.cc
@@ -80,7 +80,7 @@ void WidgetExample::CreateExampleView(View* container)
BuildButton(container, "Popup widget", POPUP);
BuildButton(container, "Dialog widget", DIALOG);
BuildButton(container, "Modal Dialog", MODAL_DIALOG);
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
// Windows does not support TYPE_CONTROL top-level widgets.
BuildButton(container, "Child widget", CHILD);
#endif