fixed some false positives; fixed method declaration-position detection also for operators

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2008-10-27 21:16:01 +00:00
parent ae3b14872b
commit 83fdf79672
3 changed files with 40 additions and 16 deletions

View File

@@ -81,6 +81,9 @@ void wxType::SetTypeFromString(const wxString& t)
m_strType.Replace(" ,", ",");
// ADHOC-FIX
m_strType.Replace("_wxArraywxArrayStringBase", "const wxString&");
m_strType = m_strType.Strip(wxString::both);
@@ -107,6 +110,7 @@ void wxType::SetTypeFromString(const wxString& t)
m_strTypeClean.Replace("wxDateTime::", "");
m_strTypeClean.Replace("wxStockGDI::", ""); // same story for some other classes
m_strTypeClean.Replace("wxHelpEvent::", "");
m_strTypeClean.Replace("wxWindowID", "int");
}
bool wxType::IsOk() const