]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/HelpGen/src/srcparser.cpp
wxStandardPaths methods are not static; documented Get()
[wxWidgets.git] / utils / HelpGen / src / srcparser.cpp
index d9d4468ce6382cfe8caae6c8bb87c22666e2228e..166fc6ca7e59cf68a4c8a45ec9fbc8f8f439acc3 100644 (file)
@@ -109,14 +109,14 @@ bool spComment::StartsParagraph() const
     return mStartsPar;
 }
 
     return mStartsPar;
 }
 
-string& spComment::GetText()
+wxString& spComment::GetText()
 {
 {
-    return mText;
+    return m_Text;
 }
 
 }
 
-string spComment::GetText() const
+wxString spComment::GetText() const
 {
 {
-    return mText;
+    return m_Text;
 }
 
 /***** Implementation for class spContext *****/
 }
 
 /***** Implementation for class spContext *****/
@@ -479,7 +479,7 @@ string spPreprocessorLine::CPP_GetIncludedFileNeme() const
 
     size_t i = 0;
 
 
     size_t i = 0;
 
-    while( i < mLine.length() && mLine[i] != '"' && mLine[i] != '<' )
+    while( i < m_Line.length() && m_Line[i] != '"' && m_Line[i] != '<' )
 
         ++i;
 
 
         ++i;
 
@@ -487,14 +487,14 @@ string spPreprocessorLine::CPP_GetIncludedFileNeme() const
 
     size_t start = i;
 
 
     size_t start = i;
 
-    while( i < mLine.length() && mLine[i] != '"' && mLine[i] != '>' )
+    while( i < m_Line.length() && m_Line[i] != '"' && m_Line[i] != '>' )
 
         ++i;
 
 
         ++i;
 
-    if ( start < mLine.length() )
+    if ( start < m_Line.length() )
     {
         string fname;
     {
         string fname;
-        fname.append( mLine, start, ( i - start ) );
+        fname.append( m_Line, start, ( i - start ) );
 
         return fname;
     }
 
         return fname;
     }
@@ -697,7 +697,7 @@ void spEnumeration::DumpThis(const wxString& indent) const
 void spTypeDef::DumpThis(const wxString& indent) const
 {
     wxLogDebug("%stypedef %s = %s",
 void spTypeDef::DumpThis(const wxString& indent) const
 {
     wxLogDebug("%stypedef %s = %s",
-               indent.c_str(), m_Name.c_str(), mOriginalType.c_str());
+               indent.c_str(), m_Name.c_str(), m_OriginalType.c_str());
 }
 
 void spFile::DumpThis(const wxString& indent) const
 }
 
 void spFile::DumpThis(const wxString& indent) const