Problem with GTKLabel on Win98
| From: | David Broker | Date: | Thu, 09 Aug 2001 12:56:30 +0000 |
| Subject: | Problem with GTKLabel on Win98 | ||
| Groups: | php.gtk | ||
| Request: | Send a blank email to php-gtk+get-2640@lists.php.net to get a copy of this message | ||
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