Applied patches #892580 and #892582 from Christian Sturmlechner.

Fix of variable declaration in wxApp::Yield().


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon 2004-02-08 07:54:26 +00:00
parent 4858097646
commit f6afb56a2d
2 changed files with 2 additions and 2 deletions

View File

@ -304,7 +304,7 @@ void wxApp::SetTopLevelWidget(WXDisplay* display, WXWidget widget)
bool wxApp::Yield(bool onlyIfNeeded)
{
bool s_inYield = FALSE;
static bool s_inYield = FALSE;
if ( s_inYield )
{

View File

@ -786,7 +786,7 @@ bool wxApp::Yield(bool onlyIfNeeded)
int i;
for (i = 0; i < 2; i++)
{
bool s_inYield = FALSE;
static bool s_inYield = FALSE;
if ( s_inYield )
{