fixed Context_Current spelling

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-03-21 19:27:32 +00:00
parent af1276806b
commit 478cde3220
3 changed files with 8 additions and 7 deletions

View File

@@ -402,8 +402,8 @@ bool wxDebugReport::AddContext(wxDebugReport::Context ctx)
wxXmlNode *nodeRoot = new wxXmlNode(wxXML_ELEMENT_NODE, _T("report"));
xmldoc.SetRoot(nodeRoot);
nodeRoot->AddProperty(_T("version"), _T("1.0"));
nodeRoot->AddProperty(_T("kind"), ctx == Context_Curent ? _T("user")
: _T("exception"));
nodeRoot->AddProperty(_T("kind"), ctx == Context_Current ? _T("user")
: _T("exception"));
// add system information
wxXmlNode *nodeSystemInfo = new wxXmlNode(wxXML_ELEMENT_NODE, _T("system"));
@@ -438,7 +438,7 @@ bool wxDebugReport::AddContext(wxDebugReport::Context ctx)
{
sw.WalkFromException();
}
else // Context_Curent
else // Context_Current
{
sw.Walk();
}