From e5f4cdd01d2a4b3673d543cba7539d691244af3a Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Mon, 22 May 2017 20:58:53 +1000 Subject: Updated to work with updated FLTK Ada binding --- src/windows-editor.adb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/windows-editor.adb') diff --git a/src/windows-editor.adb b/src/windows-editor.adb index e6d98bf..81e5633 100644 --- a/src/windows-editor.adb +++ b/src/windows-editor.adb @@ -1,6 +1,5 @@ -with FLTK.Enums; use FLTK.Enums; with FLTK.Widgets.Groups.Windows.Double; with FLTK.Widgets.Groups.Text_Displays.Text_Editors; with FLTK.Widgets.Menus.Menu_Bars; @@ -25,6 +24,8 @@ package body Windows.Editor is Label_Text : in String) return Editor_Window is + use FLTK; + Width : Integer := Min_Editor_Width; Height : Integer := Min_Editor_Height; Menu_Height : Integer := 22; -- cgit