Server = wx:new(),
%% Parent = wxWindow:new(),
BM = wxBitmap:new("Penguins.jpg",[{type,?wxBITMAP_TYPE_JPEG}]),
SC = wxSplashScreen:new(bitmap,
?wxSPLASH_CENTRE_ON_SCREEN,
2000,
Server,
100,
[
{pos,?wxDefaultPosition},
{size,?wxDefaultSize},
{style,?wxSTAY_ON_TOP}
]),
It fails with the following error:
exception error: no function clause matching
wxSplashScreen:new(bitmap,2,2000,
{wx_ref,0,wx,[]},
100,
[{pos,{-1,-1}},
{size,{-1,-1}},
{style,32768}]) (gen/
wxSplashScreen.erl, line 105)
Any Idea?
_______________________________________________
erlang-questions mailing list
erlang-q...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions
regs,
/s
> erlang-questi...@erlang.orghttp://erlang.org/mailman/listinfo/erlang-questions
Thank you very much indeed.
On 25 Feb., 16:57, Gianfranco Alongi <gianfranco.alo...@gmail.com>
wrote:
> > erlang-questi...@erlang.org