[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] A wx style question
From: |
Vadim Zeitlin |
Subject: |
Re: [lmi] A wx style question |
Date: |
Wed, 28 Mar 2007 16:32:29 +0200 |
On Wed, 28 Mar 2007 14:29:50 +0000 Greg Chicares <address@hidden> wrote:
GC> The wx manual specifies these default arguments:
GC>
GC> wxTreeItemId AppendItem
GC> (const wxTreeItemId& parent,
GC> const wxString& text,
GC> int image = -1,
GC> int selImage = -1,
GC> wxTreeItemData* data = NULL)
GC>
GC> When we need to specify all five arguments, but want defaults
GC> for the third and fourth, should we write them as '-1'? Or is
GC> there some constant (like 'wxDefaultSize' for wxSize arguments)
GC> that's preferable?
No, there is no such constant currently. But we could add a wxNO_IMAGE
constant with the value of -1, of course. Would it be useful if I did it?
Thanks,
VZ