diff options
author | Joseph Watson <jwatson@genisyscu.org> | 2015-09-15 12:59:53 -0400 |
---|---|---|
committer | Joseph Watson <jwatson@genisyscu.org> | 2015-09-15 12:59:53 -0400 |
commit | cff91fbf85bb4d33ad13fe624bcff872ba06ca92 (patch) | |
tree | ca4beb691dd74cbd35882b68f7eaf9cfbdbe0ecb | |
parent | Don't panic if win.AddClipboardFormatListener fails (it's not supported on XP) (diff) | |
download | wireguard-windows-cff91fbf85bb4d33ad13fe624bcff872ba06ca92.tar.xz wireguard-windows-cff91fbf85bb4d33ad13fe624bcff872ba06ca92.zip |
Add build tags to allow this library to be included in a cross platform program. This allows for several things:
1) Develop on something other then a windows box, and cross compile the program to target windows.
2) Develop a program that will run on the command line for any OS, but also have a gui when run on windows.
3) Use the walk library for the windows gui, and some other library for a gui on other platforms.
96 files changed, 197 insertions, 0 deletions
@@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk type actionChangedHandler interface { diff --git a/actionlist.go b/actionlist.go index 694a227d..c15880eb 100644 --- a/actionlist.go +++ b/actionlist.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk type actionListObserver interface { diff --git a/application.go b/application.go index 84409951..917cf0ee 100644 --- a/application.go +++ b/application.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/boxlayout.go b/boxlayout.go index 71c66090..4b98f4a7 100644 --- a/boxlayout.go +++ b/boxlayout.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/cancelevent.go b/cancelevent.go index aaffc2aa..a1502317 100644 --- a/cancelevent.go +++ b/cancelevent.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk type CancelEventHandler func(canceled *bool) @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/checkbox.go b/checkbox.go index 750be117..36280b9e 100644 --- a/checkbox.go +++ b/checkbox.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/clipboard.go b/clipboard.go index f49e2339..fd5b16b6 100644 --- a/clipboard.go +++ b/clipboard.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/closeevent.go b/closeevent.go index 885dd2f4..284fc046 100644 --- a/closeevent.go +++ b/closeevent.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk type CloseEventHandler func(canceled *bool, reason CloseReason) @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk type Color uint32 diff --git a/combobox.go b/combobox.go index 1ceb2541..4c50aa05 100644 --- a/combobox.go +++ b/combobox.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/commondialogs.go b/commondialogs.go index 6bad0e28..aeaa1e59 100644 --- a/commondialogs.go +++ b/commondialogs.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/composite.go b/composite.go index 7b319890..e3c9da6c 100644 --- a/composite.go +++ b/composite.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/condition.go b/condition.go index 622e8d5a..c0415b25 100644 --- a/condition.go +++ b/condition.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk type Condition interface { diff --git a/container.go b/container.go index 68a99329..6915e6a9 100644 --- a/container.go +++ b/container.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/customwidget.go b/customwidget.go index 2e5ec225..d93d1ac1 100644 --- a/customwidget.go +++ b/customwidget.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/databinding.go b/databinding.go index 74e49f6a..1162eb2a 100644 --- a/databinding.go +++ b/databinding.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/dateedit.go b/dateedit.go index 22a121af..7fcbab04 100644 --- a/dateedit.go +++ b/dateedit.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/errorevent.go b/errorevent.go index f84013e8..8481f7df 100644 --- a/errorevent.go +++ b/errorevent.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk type ErrorEventHandler func(err error) @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk type EventHandler func() @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/gridlayout.go b/gridlayout.go index 55438bf9..e57678c3 100644 --- a/gridlayout.go +++ b/gridlayout.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/groupbox.go b/groupbox.go index bcc4d251..d49850e4 100644 --- a/groupbox.go +++ b/groupbox.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/imagelist.go b/imagelist.go index c08ef319..a23bb6c6 100644 --- a/imagelist.go +++ b/imagelist.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/imageview.go b/imageview.go index 86d4dfd5..5c6784a5 100644 --- a/imageview.go +++ b/imageview.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk type ImageView struct { diff --git a/indexlist.go b/indexlist.go index 9ec04d33..f017ba75 100644 --- a/indexlist.go +++ b/indexlist.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk type IndexList struct { diff --git a/inifilesettings.go b/inifilesettings.go index aeb5ea11..e792ff4d 100644 --- a/inifilesettings.go +++ b/inifilesettings.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/intevent.go b/intevent.go index 7707ba80..8670d5b0 100644 --- a/intevent.go +++ b/intevent.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk type IntEventHandler func(n int) diff --git a/keyboard.go b/keyboard.go index cba6a2c2..646864d5 100644 --- a/keyboard.go +++ b/keyboard.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/keyevent.go b/keyevent.go index ffee51a3..943dd2cc 100644 --- a/keyevent.go +++ b/keyevent.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk type KeyEventHandler func(key Key) @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/lineedit.go b/lineedit.go index 78f2673a..758d4d80 100644 --- a/lineedit.go +++ b/lineedit.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/lineerrorpresenter.go b/lineerrorpresenter.go index 1ebed439..31f3225b 100644 --- a/lineerrorpresenter.go +++ b/lineerrorpresenter.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( @@ -2,6 +2,8 @@ // Use of lb source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/mainwindow.go b/mainwindow.go index 7c47de38..dbba14a6 100644 --- a/mainwindow.go +++ b/mainwindow.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/maptablemodel.go b/maptablemodel.go index 676d1f03..ae31237d 100644 --- a/maptablemodel.go +++ b/maptablemodel.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/messagebox.go b/messagebox.go index 4de598dc..38628d69 100644 --- a/messagebox.go +++ b/messagebox.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/metafile.go b/metafile.go index 3acb348a..5d3104dc 100644 --- a/metafile.go +++ b/metafile.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk // BindingValueProvider is the interface that a model must implement to support diff --git a/mouseevent.go b/mouseevent.go index b187c4d7..f8abbd80 100644 --- a/mouseevent.go +++ b/mouseevent.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk type MouseButton int diff --git a/nonwin.go b/nonwin.go new file mode 100644 index 00000000..0dce1fc9 --- /dev/null +++ b/nonwin.go @@ -0,0 +1,7 @@ +// Copyright 2010 The win Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// +build !windows + +package walk diff --git a/notifyicon.go b/notifyicon.go index 5cdbbaa8..fe4ef8bf 100644 --- a/notifyicon.go +++ b/notifyicon.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/numberedit.go b/numberedit.go index fb93b724..a48b4ea2 100644 --- a/numberedit.go +++ b/numberedit.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk type Point struct { diff --git a/progressbar.go b/progressbar.go index 8ce3128f..c01cb5a9 100644 --- a/progressbar.go +++ b/progressbar.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/progressindicator.go b/progressindicator.go index b3d54483..f0af4884 100644 --- a/progressindicator.go +++ b/progressindicator.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/property.go b/property.go index 56620024..e352b35f 100644 --- a/property.go +++ b/property.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/pushbutton.go b/pushbutton.go index 07f58a16..0f726dd9 100644 --- a/pushbutton.go +++ b/pushbutton.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/radiobutton.go b/radiobutton.go index 7cb37791..db729e1e 100644 --- a/radiobutton.go +++ b/radiobutton.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/rectangle.go b/rectangle.go index fef93b69..50171655 100644 --- a/rectangle.go +++ b/rectangle.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/reflectmodels.go b/reflectmodels.go index fbf4fa93..d140f24f 100644 --- a/reflectmodels.go +++ b/reflectmodels.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/registry.go b/registry.go index 674968b7..73357cde 100644 --- a/registry.go +++ b/registry.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/scrollview.go b/scrollview.go index 87f1529b..afc1d81b 100644 --- a/scrollview.go +++ b/scrollview.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/simpletypes.go b/simpletypes.go index e0e1d0ee..af7c0353 100644 --- a/simpletypes.go +++ b/simpletypes.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk type Alignment1D uint @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk type Size struct { @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk const spacerWindowClass = `\o/ Walk_Spacer_Class \o/` diff --git a/splitter.go b/splitter.go index e90f0477..72f40c03 100644 --- a/splitter.go +++ b/splitter.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/splitterhandle.go b/splitterhandle.go index 35cce1c5..176eb616 100644 --- a/splitterhandle.go +++ b/splitterhandle.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/splitterlayout.go b/splitterlayout.go index 9d07fad7..d568c01c 100644 --- a/splitterlayout.go +++ b/splitterlayout.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/statusbar.go b/statusbar.go index 1baf15c5..c9fb649b 100644 --- a/statusbar.go +++ b/statusbar.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/tableview.go b/tableview.go index 4f216736..6fe69a50 100644 --- a/tableview.go +++ b/tableview.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/tableviewcolumn.go b/tableviewcolumn.go index fcf70ed3..4e654e2c 100644 --- a/tableviewcolumn.go +++ b/tableviewcolumn.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/tableviewcolumnlist.go b/tableviewcolumnlist.go index caf206e8..16e3d1c8 100644 --- a/tableviewcolumnlist.go +++ b/tableviewcolumnlist.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk type TableViewColumnList struct { @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/tabpagelist.go b/tabpagelist.go index e35b4242..b425b301 100644 --- a/tabpagelist.go +++ b/tabpagelist.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/tabwidget.go b/tabwidget.go index 12b62ebf..7f695162 100644 --- a/tabwidget.go +++ b/tabwidget.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/textedit.go b/textedit.go index aa669e89..1f41a70a 100644 --- a/textedit.go +++ b/textedit.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/toolbutton.go b/toolbutton.go index 1ad3db24..d15ae325 100644 --- a/toolbutton.go +++ b/toolbutton.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/treeitemevent.go b/treeitemevent.go index 4982847a..ef2a320e 100644 --- a/treeitemevent.go +++ b/treeitemevent.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk type TreeItemEventHandler func(item TreeItem) diff --git a/treeview.go b/treeview.go index 16e40486..c963f5af 100644 --- a/treeview.go +++ b/treeview.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/validators.go b/validators.go index 8b289c71..c55622f8 100644 --- a/validators.go +++ b/validators.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk func LogErrors() bool { @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/webview_dwebbrowserevents2.go b/webview_dwebbrowserevents2.go index 1cc6bdbb..d01b057d 100644 --- a/webview_dwebbrowserevents2.go +++ b/webview_dwebbrowserevents2.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/webview_idochostuihandler.go b/webview_idochostuihandler.go index 1c5220c2..e67d9242 100644 --- a/webview_idochostuihandler.go +++ b/webview_idochostuihandler.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/webview_ioleclientsite.go b/webview_ioleclientsite.go index cb95f861..0bfea3c5 100644 --- a/webview_ioleclientsite.go +++ b/webview_ioleclientsite.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/webview_ioleinplaceframe.go b/webview_ioleinplaceframe.go index a4eebc85..e5685571 100644 --- a/webview_ioleinplaceframe.go +++ b/webview_ioleinplaceframe.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/webview_ioleinplacesite.go b/webview_ioleinplacesite.go index 163857e0..c6bfe8a1 100644 --- a/webview_ioleinplacesite.go +++ b/webview_ioleinplacesite.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( diff --git a/widgetlist.go b/widgetlist.go index 4d86acef..e2da0dc9 100644 --- a/widgetlist.go +++ b/widgetlist.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build windows + package walk import ( |