Problem with GTKLabel on Win98
[email protected] (David Broker) Thu, 09 Aug 2001 22:56:30 +1000
| Newsgroups | php.gtk |
|---|---|
| Message-ID | <[email protected]> |
Hi,
When I call GTKLabel() without any arguments I get an error message: "This
program has performed an illegal operation" from Windows.
My code:
$label = &new GTKLabel();
$label->set_text("Text");
$label->show();
When I do it like this:
$label = &new GTKLabel("Text");
$label->show();
Or like this:
$label = &new GTKLabel("text");
$label->set_text("Text2");
$label->show();
I do not get any errors.
This did not happen with V0.0.4.
A bug perhaps??
Thanks,
David