Allow MSW Base be usable in other ports than wxMSW (ie. wxTVision in windows console). Adjustements for limited setup.h (as in wxTV) and minor source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1631,7 +1631,7 @@ void InitialiseColourTable(void)
|
||||
|
||||
void Tex2RTFYield(bool force)
|
||||
{
|
||||
#ifdef __WXMSW__
|
||||
#ifdef __WINDOWS__
|
||||
static int yieldCount = 0;
|
||||
|
||||
if (isSync)
|
||||
@@ -1646,6 +1646,8 @@ void Tex2RTFYield(bool force)
|
||||
yieldCount = 10;
|
||||
}
|
||||
yieldCount --;
|
||||
#else
|
||||
wxUnusedVar(force);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user