Yes, you need to delete the string also.

If this is inside a dialog box, or something else that only shows up for a short time 
you might find pgEnterContext() and pgLeaveContext() helpful.

On Sat, Mar 09, 2002 at 02:08:00PM +0200, Okan wrote:
>       When I create a label widget as ;
>       ..........................................................
>       pghandle label;
>       label = pgNewWidget(PG_WP_LABLE,,);
>       pgSetWidget(pgDEFAULT,
>       pgNewString("...."),,,);
>       ..........................................................
>       after that if I delete the widget as;
>       ..........................................................
>       pgDelete(label);
>       ..........................................................
>       in here I want to ask,do I have to delete the string 
> (pgNewString()) or  is it deleted when I delete the label 
> ????
>       Thanks... 
> 
> _______________________________________________
> Pgui-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/pgui-devel

-- 
Only you can prevent creeping featurism!

_______________________________________________
Pgui-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/pgui-devel

Reply via email to