]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/tex2rtf/src/texutils.cpp
added and documented wxKeyEvent::GetUnicodeKey(); made it work for MSW; added test...
[wxWidgets.git] / utils / tex2rtf / src / texutils.cpp
index 80a35b8ae258a09325aba1f084dea8229b8ed800..0f2c6385b5c02d19d5c9192a9515168783dd9db1 100644 (file)
@@ -401,7 +401,7 @@ void WriteTexReferences(wxChar *filename)
   if (ostr.bad()) return;
   
   TexReferences.BeginFind();
-  wxNode *node = TexReferences.Next();
+  wxHashTable::Node *node = TexReferences.Next();
   while (node)
   {
     Tex2RTFYield();
@@ -449,7 +449,7 @@ void ReadTexReferences(wxChar *filename)
     if (!istr.eof())
     {
       istr >> file;
-         istr >> sectionName;
+      istr >> sectionName;
       char ch;
       istr.get(ch); // Read past space
       istr.get(ch);
@@ -1627,15 +1627,15 @@ void Tex2RTFYield(bool force)
     static int yieldCount = 0;
     
     if (isSync)
-       return;
+        return;
     
     if (force)
-       yieldCount = 0;
+    yieldCount = 0;
     if (yieldCount == 0)
     {
-       if (wxTheApp)
-           wxYield();
-       yieldCount = 10;
+        if (wxTheApp)
+            wxYield();
+        yieldCount = 10;
     }
     yieldCount --;
 #endif
@@ -1663,7 +1663,7 @@ void AddKeyWordForTopic(wxChar *topic, wxChar *entry, wxChar *filename)
 void ClearKeyWordTable(void)
 {
   TopicTable.BeginFind();
-  wxNode *node = TopicTable.Next();
+  wxHashTable::Node *node = TopicTable.Next();
   while (node)
   {
     TexTopic *texTopic = (TexTopic *)node->GetData();
@@ -1713,7 +1713,7 @@ wxChar *ConvertCase(wxChar *s)
 }
 
 #if !WXWIN_COMPATIBILITY_2
-// if substring is TRUE, search for str1 in str2
+// if substring is true, search for str1 in str2
 bool StringMatch(const wxChar *str1, const wxChar *str2, bool subString, 
                  bool exact)
 {