summaryrefslogtreecommitdiff
path: root/devel/electron6/files/patch-ui_views_examples_widget__example.cc
blob: 26ab8af44e5bc1005b135ce6cd0eda3856fb2a93 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ui/views/examples/widget_example.cc.orig	2019-09-10 11:14:40 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