I cannot get wxErlang to work at all. Do i need to include a module. Can't find any basic information relating to it. Please help. I am look for a very basic example of a module.
the error I am getting is
undefined function wx:start/0
I cannot get wxErlang to work at all. Do i need to include a module. Can't find any basic information relating to it. Please help. I am look for a very basic example of a module.
the error I am getting is
undefined function wx:start/0
This should display an empty frame:
1> wx:new().
{wx_ref,0,wx,[]}
2> Frame = wxFrame:new(wx:null(), 0, "myFrame").
{wx_ref,36,wxFrame,[]}
3> wxFrame:show(Frame).
true
I just needed to include the wx lib using the following line
-include_lib("include/wx.hrl").
include/ is a sub directory in my project containing the wx library.