]> git.saurik.com Git - wxWidgets.git/commitdiff
[tex2rtf] Remove wxWidgets-2.0 compatibility guards
authorMart Raudsepp <leio@gentoo.org>
Tue, 23 Aug 2005 23:19:20 +0000 (23:19 +0000)
committerMart Raudsepp <leio@gentoo.org>
Tue, 23 Aug 2005 23:19:20 +0000 (23:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

utils/tex2rtf/src/tex2any.h
utils/tex2rtf/src/texutils.cpp

index 5a0ba50e94a924bf037e50aad71f885dc7b4098e..19cd343518cfec4a69cec91b2b5f1b377f41b29b 100644 (file)
@@ -173,9 +173,7 @@ int GetCurrentColumn(void);         // number of characters on current line
 wxChar *ConvertCase(wxChar *s);         // Convert case, according to upperCaseNames setting.
 extern wxPathList TexPathList;      // Path list, can be used for file searching.
 
-#if !WXWIN_COMPATIBILITY_2
 extern bool StringMatch(const wxChar *one, const wxChar *two, bool subString = true, bool exact = false);
-#endif
 
 // Define a variable value from the .ini file
 wxChar *RegisterSetting(wxChar *settingName, wxChar *settingValue, bool interactive = true);
index d53d63f783804a873d039fea318ac74c562b4b06..494036b5d0687cb831c5df423ddac6aadf66dc10 100644 (file)
@@ -1722,7 +1722,6 @@ wxChar *ConvertCase(wxChar *s)
   return buf;
 }
 
-#if !WXWIN_COMPATIBILITY_2
 // if substring is true, search for str1 in str2
 bool StringMatch(const wxChar *str1, const wxChar *str2, bool subString,
                  bool exact)
@@ -1742,4 +1741,3 @@ bool StringMatch(const wxChar *str1, const wxChar *str2, bool subString,
       return exact ? wxString(str2).Cmp(str1) == 0 :
                      wxString(str2).CmpNoCase(str1) == 0;
 }
-#endif