From d80d210d6b1418ba3e773186337c5da7ea169c4e Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Sun, 13 Apr 2025 18:48:34 +1200 Subject: Proper init of Message_Icon box, some more checks added --- spec/fltk-asks.ads | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'spec') diff --git a/spec/fltk-asks.ads b/spec/fltk-asks.ads index 75296d3..23e2076 100644 --- a/spec/fltk-asks.ads +++ b/spec/fltk-asks.ads @@ -172,6 +172,10 @@ package FLTK.Asks is (Font : in Font_Kind; Size : in Font_Size); + -- Technically the returned Box should have a parent, but you can't access + -- it for annoying technical reasons relating to how the Choice functions + -- work in C++. You shouldn't be trying to poke at those internals anyway. + -- Just stick to calling subprograms to change stuff about this Box. function Get_Message_Icon return FLTK.Widgets.Boxes.Box_Reference; -- cgit