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") );
}
}
-wxString wxTextCtrl::GetValue() const
+wxString wxTextCtrl::DoGetValue() const
{
wxCHECK_MSG( m_text != NULL, wxEmptyString, wxT("invalid text ctrl") );