develooper Front page | perl.wxperl.users | Postings from February 2010

wxBusyInfo Constructor

From:
Brad Embree
Date:
February 28, 2010 11:38
Subject:
wxBusyInfo Constructor
Message ID:
2f0bd2231002281137m27bf5cfr2728dd66fed4ca7f@mail.gmail.com
Would it be possible to get the alternate constructor for wxBusyInfo?


From docs at http://docs.wxwidgets.org/stable/wx_wxbusyinfo.html#wxbusyinfoctor
:

"wxBusyInfo(const wxString& msg, wxWindow* parent = NULL)

Constructs a busy info window as child of parent and displays msg in it.

NB: If parent is not NULL you must ensure that it is not closed while
the busy info is shown."


But if you attempt to specify a parent window you get an error:

"Usage: Wx::BusyInfo::new(CLASS, message) at example.pl line 53."


You can see this by executing the attached example script.

Thanks,

Brad Embree
brad@donor.com




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About