aboutsummaryrefslogtreecommitdiff
path: root/dw/fltkviewbase.hh
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2014-11-18 12:53:29 -0300
committerJorge Arellano Cid <jcid@dillo.org>2014-11-18 12:53:29 -0300
commit727bfb87009cc0e5ef2e0ce1a363910fb3d6b311 (patch)
treeac4e14f4ecf70c74e8f98e8009a3a11e5436f811 /dw/fltkviewbase.hh
parent2db5a9e3e790863db2f67e727512f2373d4c82dc (diff)
Fix a problem with FLTK's fl_oldfocus variable (now private)
Starting with fltk-1.3.3, we can't use fl_oldfocus, this patch fixes this problem. IOW. this patch is necessary to link with fltk-1.3.3.
Diffstat (limited to 'dw/fltkviewbase.hh')
-rw-r--r--dw/fltkviewbase.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/fltkviewbase.hh b/dw/fltkviewbase.hh
index 88fd9041..eb4ec322 100644
--- a/dw/fltkviewbase.hh
+++ b/dw/fltkviewbase.hh
@@ -56,7 +56,7 @@ protected:
core::Layout *theLayout;
int canvasWidth, canvasHeight;
int mouse_x, mouse_y;
- // Fl_Widget *focused_child;
+ Fl_Widget *focused_child;
virtual int translateViewXToCanvasX (int x) = 0;
virtual int translateViewYToCanvasY (int y) = 0;