further additions to avoid false warnings (ActsAsDefaultCtor, better wxArgumentType::SetDefaultValue)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2008-10-14 19:49:48 +00:00
parent 1a78714d95
commit f3998820a3
3 changed files with 71 additions and 31 deletions

View File

@@ -188,7 +188,9 @@ public: // getters
{ return m_retType; }
wxString GetName() const
{ return m_strName; }
wxArgumentTypeArray GetArgumentTypes() const
const wxArgumentTypeArray& GetArgumentTypes() const
{ return m_args; }
wxArgumentTypeArray& GetArgumentTypes()
{ return m_args; }
int GetLocation() const
{ return m_nLine; }
@@ -257,6 +259,10 @@ public: // misc
// except for the method attributes (const,static,virtual,pureVirtual,deprecated)
bool MatchesExceptForAttributes(const wxMethod& m) const;
// returns true if this is a ctor which has default values for all its
// argument, thus is able to act also as default ctor
bool ActsAsDefaultCtor() const;
void Dump(wxTextOutputStream& stream) const;
protected: