From 0c6b9b31b9ebcce0f6a7b8247be325ecc4c86d5d Mon Sep 17 00:00:00 2001 From: "elias.bachaalany" Date: Tue, 27 Apr 2010 13:28:26 +0000 Subject: [PATCH] graph.i: OnDeactivate() was not being called. --- swig/graph.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swig/graph.i b/swig/graph.i index b0c70fb..75e2213 100644 --- a/swig/graph.i +++ b/swig/graph.i @@ -423,7 +423,7 @@ private: break; // case grcode_lostfocus: - if (cb_flags & GR_HAVE_GOTFOCUS) + if (cb_flags & GR_HAVE_LOSTFOCUS) on_lostfocus(va_arg(va, graph_viewer_t *)); ret = 0; break;