dontpanic92 / wxGo

Golang wxWidgets Wrapper
Other
403 stars 51 forks source link

Can't Printf in a Bind. #60

Closed undeadindustries closed 6 years ago

undeadindustries commented 6 years ago

Why debugging, I can't see any Println or Printf in the console. In in Win10 x64.

wx.Bind(w, wx.EVT_BUTTON, func(e wx.Event) { fd := wx.NewDirDialog(wx.NullWindow, "Select Folder") if fd.ShowModal() == wx.ID_OK { fmt.Printf("Folder: %v", fd.GetPath()) } fmt.Println("Whatever") },

This doesn't display anything on the console.

Any ideas?

dontpanic92 commented 6 years ago

Try :

undeadindustries commented 6 years ago

Thanks that worked!