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:
@@ -304,7 +304,7 @@ void wxApp::SetTopLevelWidget(WXDisplay* display, WXWidget widget)
|
|||||||
|
|
||||||
bool wxApp::Yield(bool onlyIfNeeded)
|
bool wxApp::Yield(bool onlyIfNeeded)
|
||||||
{
|
{
|
||||||
bool s_inYield = FALSE;
|
static bool s_inYield = FALSE;
|
||||||
|
|
||||||
if ( s_inYield )
|
if ( s_inYield )
|
||||||
{
|
{
|
||||||
|
@@ -786,7 +786,7 @@ bool wxApp::Yield(bool onlyIfNeeded)
|
|||||||
int i;
|
int i;
|
||||||
for (i = 0; i < 2; i++)
|
for (i = 0; i < 2; i++)
|
||||||
{
|
{
|
||||||
bool s_inYield = FALSE;
|
static bool s_inYield = FALSE;
|
||||||
|
|
||||||
if ( s_inYield )
|
if ( s_inYield )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user