forked from Lainports/opnsense-ports
11 lines
653 B
C++
11 lines
653 B
C++
--- ui/views/examples/widget_example.cc.orig 2022-06-17 14:20:10 UTC
|
|
+++ ui/views/examples/widget_example.cc
|
|
@@ -50,7 +50,7 @@ void WidgetExample::CreateExampleView(View* container)
|
|
modal_button->SetCallback(
|
|
base::BindRepeating(&WidgetExample::CreateDialogWidget,
|
|
base::Unretained(this), modal_button, true));
|
|
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
|
// Windows does not support TYPE_CONTROL top-level widgets.
|
|
LabelButton* control_button = BuildButton(
|
|
container, GetStringUTF16(IDS_WIDGET_CHILD_WIDGET_BUTTON_LABEL));
|