]> git.saurik.com Git - wxWidgets.git/commitdiff
fix typo
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Wed, 18 Feb 2009 11:30:19 +0000 (11:30 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Wed, 18 Feb 2009 11:30:19 +0000 (11:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk1/textctrl.cpp

index 0d410a73d80a04b20808d05ce073ffb23931dbde..ad7be3702caa9be4d44ed23dc69963d79e91da9c 100644 (file)
@@ -187,7 +187,7 @@ extern "C" {
 static void wxgtk_text_draw( GtkWidget *widget, GdkRectangle *rect)
 {
     wxEventLoopBase* loop = wxEventLoopBase::GetActive();
-    if ( loop && loop->IsYielding() )
+    if ( loop && !loop->IsYielding() )
     {
         wxCHECK_RET( gs_gtk_text_draw != wxgtk_text_draw,
                      _T("infinite recursion in wxgtk_text_draw aborted") );