[tex2rtf] Remove wxWidgets-2.0 compatibility guards

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mart Raudsepp
2005-08-23 23:19:20 +00:00
parent 5cb61fed97
commit 1e8774da27
2 changed files with 0 additions and 4 deletions

View File

@@ -173,9 +173,7 @@ int GetCurrentColumn(void); // number of characters on current line
wxChar *ConvertCase(wxChar *s); // Convert case, according to upperCaseNames setting. wxChar *ConvertCase(wxChar *s); // Convert case, according to upperCaseNames setting.
extern wxPathList TexPathList; // Path list, can be used for file searching. 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); extern bool StringMatch(const wxChar *one, const wxChar *two, bool subString = true, bool exact = false);
#endif
// Define a variable value from the .ini file // Define a variable value from the .ini file
wxChar *RegisterSetting(wxChar *settingName, wxChar *settingValue, bool interactive = true); wxChar *RegisterSetting(wxChar *settingName, wxChar *settingValue, bool interactive = true);

View File

@@ -1722,7 +1722,6 @@ wxChar *ConvertCase(wxChar *s)
return buf; return buf;
} }
#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 StringMatch(const wxChar *str1, const wxChar *str2, bool subString,
bool exact) bool exact)
@@ -1742,4 +1741,3 @@ bool StringMatch(const wxChar *str1, const wxChar *str2, bool subString,
return exact ? wxString(str2).Cmp(str1) == 0 : return exact ? wxString(str2).Cmp(str1) == 0 :
wxString(str2).CmpNoCase(str1) == 0; wxString(str2).CmpNoCase(str1) == 0;
} }
#endif