[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [paragui-users] Tiny detail about the PopupMenu.
From: |
Andrew Ford |
Subject: |
Re: [paragui-users] Tiny detail about the PopupMenu. |
Date: |
Tue, 18 Jun 2002 10:01:00 -0700 (PDT) |
Yes, you're right. I'd change it if I had cvs access,
but my computer has again been broken in the mail.
This sucks. Anyway, I'm sure Alex will fix this.
Andrew.
--- Guillaume Schmid <address@hidden> wrote:
> Hello,
>
> I just noticed a small thing int the creation method
> of the PopupMenu
> creator: it is :
>
> PG_PopupMenu(PG_Widget *parent, int x, int y, char
> *caption, char
> *style= "PopupMenu");
>
>
> And the caption parameter is used only to initialize
> a std::string like
> this:
> if(caption != NULL) {
> myCaption = caption;
> }
>
> Except if I missed some (probably obvious) point,
> this parameter could
> be a const (it could even be a string but...).
> In fact since it is not const, you cannot give a
> string::c_str() as a
> parameter for instance, and in certain cases, it
> could be annoying.
> Is this possible to change this ?
>
> Well, that's all,
>
> Thank you for your attention.
>
> a++
> Guillaume.
>
>
>
>
> _______________________________________________
> paragui-users mailing list
> address@hidden
>
http://mail.freesoftware.fsf.org/mailman/listinfo/paragui-users
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com