mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 06:10:30 -04:00
11 lines
527 B
C++
11 lines
527 B
C++
--- ui/views/examples/widget_example.cc.orig 2019-03-11 22:01:19 UTC
|
|
+++ ui/views/examples/widget_example.cc
|
|
@@ -79,7 +79,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
|