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:
parent
4858097646
commit
f6afb56a2d
@ -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 )
|
||||
{
|
||||
|
@ -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 )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user