[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi] A wx style question

From: Greg Chicares
Subject: [lmi] A wx style question
Date: Wed, 28 Mar 2007 14:29:50 +0000
User-agent: Thunderbird (Windows/20060516)

The wx manual specifies these default arguments:

wxTreeItemId AppendItem
    (const wxTreeItemId& parent,
    const wxString& text,
    int image = -1,
    int selImage = -1,
    wxTreeItemData* data = NULL)

When we need to specify all five arguments, but want defaults
for the third and fourth, should we write them as '-1'? Or is
there some constant (like 'wxDefaultSize' for wxSize arguments)
that's preferable?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]