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:
Włodzimierz Skiba
2005-06-10 17:53:19 +00:00
parent 97bdb4c890
commit 532d575bd9
18 changed files with 117 additions and 57 deletions

View File

@@ -25,8 +25,9 @@
<install-to>$(BINDIR)</install-to>
</exe>
<exe id="tex2rtf_gui" template="wx_util" template_append="wx_append"
cond="USE_GUI=='1'">
<exe id="tex2rtf_gui" template="wx_util"
template_append="wx_append"
cond="USE_GUI=='1'">
<sources>$(TEX2RTF_SRC)</sources>
<wx-lib>html</wx-lib>
<wx-lib>core</wx-lib>

View File

@@ -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
}