X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eecb33b0189a3804dead82317a575e0f1d52cd9f..06336f51bb5120c9ac23d66c6acd79ec7428f15f:/utils/tex2rtf/src/texutils.cpp diff --git a/utils/tex2rtf/src/texutils.cpp b/utils/tex2rtf/src/texutils.cpp index 5308bb3971..4bbf372ad3 100644 --- a/utils/tex2rtf/src/texutils.cpp +++ b/utils/tex2rtf/src/texutils.cpp @@ -10,10 +10,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -1631,7 +1627,7 @@ void InitialiseColourTable(void) void Tex2RTFYield(bool force) { -#ifdef __WXMSW__ +#ifdef __WINDOWS__ static int yieldCount = 0; if (isSync) @@ -1646,6 +1642,8 @@ void Tex2RTFYield(bool force) yieldCount = 10; } yieldCount --; +#else + wxUnusedVar(force); #endif } @@ -1720,7 +1718,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) @@ -1740,4 +1737,3 @@ bool StringMatch(const wxChar *str1, const wxChar *str2, bool subString, return exact ? wxString(str2).Cmp(str1) == 0 : wxString(str2).CmpNoCase(str1) == 0; } -#endif