[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:
@@ -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);
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user