mirror of https://github.com/icedream/icecon.git
Fix UI code generation using ui2walk.
parent
397d2e90c6
commit
0889e3cac4
|
@ -1,5 +1,4 @@
|
||||||
//+build windows
|
//+build windows
|
||||||
//go:generate ui2walk connectdialog.ui
|
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,8 @@
|
||||||
//+build windows
|
//+build windows
|
||||||
//go:generate ui2walk dialog.ui
|
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import "github.com/lxn/walk"
|
||||||
"github.com/lxn/walk"
|
|
||||||
)
|
|
||||||
|
|
||||||
type mainDialog struct {
|
type mainDialog struct {
|
||||||
*walk.MainWindow
|
*walk.MainWindow
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
//+build windows
|
//+build windows
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
|
//go:generate ui2walk
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
"log"
|
||||||
|
|
Loading…
Reference in New Issue