summaryrefslogtreecommitdiff
path: root/src/windows-about.adb
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2018-05-15 16:38:23 +1000
committerJed Barber <jjbarber@y7mail.com>2018-05-15 16:38:23 +1000
commit7ec40156bf80af71ebf3f51129af42a01221f250 (patch)
tree5c5570dc27137848dfb176157c8a6bb898447bea /src/windows-about.adb
parent468cdc37c83cd51eb1b0656bc7faeaf2099e0918 (diff)
Updated to bring into line with FLTK binding
Diffstat (limited to 'src/windows-about.adb')
-rw-r--r--src/windows-about.adb3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/windows-about.adb b/src/windows-about.adb
index 13b8337..8248065 100644
--- a/src/windows-about.adb
+++ b/src/windows-about.adb
@@ -3,6 +3,7 @@
package body Windows.About is
+ package W renames FLTK.Widgets.Groups.Windows;
package WD renames FLTK.Widgets.Groups.Windows.Double;
package BX renames FLTK.Widgets.Boxes;
package EN renames FLTK.Widgets.Buttons.Enter;
@@ -63,7 +64,7 @@ package body Windows.About is
This.Picture.Set_Image (Logo);
This.Set_Callback (Hide_CB'Access);
- This.Set_Modal;
+ This.Set_Modal_State (W.Modal);
end return;
end Create;