Skip to content

Commit

Permalink
Fix UI code generation using ui2walk.
Browse files Browse the repository at this point in the history
  • Loading branch information
icedream committed May 6, 2016
1 parent 397d2e9 commit 0889e3c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion connectdialog_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//+build windows
//go:generate ui2walk connectdialog.ui

package main

Expand Down
5 changes: 1 addition & 4 deletions dialog_windows.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
//+build windows
//go:generate ui2walk dialog.ui

package main

import (
"github.com/lxn/walk"
)
import "github.com/lxn/walk"

type mainDialog struct {
*walk.MainWindow
Expand Down
3 changes: 3 additions & 0 deletions main_windows.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
//+build windows

package main

//go:generate ui2walk

import (
"fmt"
"log"
Expand Down

0 comments on commit 0889e3c

Please sign in to comment.