FLTK logo

[fltk.coredev] Re: macOS Fl_Sys_Menu_Bar's clear()

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.coredev  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: macOS Fl_Sys_Menu_Bar's clear() Gonzalo Garramuno May 13, 2022  
 
> El 13 may. 2022, a las 07:49, Gonzalo Garramuno <ggarra13@gmail.com> escribió:
> 
> According to the documentation, calling clear should set the menu to NULL.   However, when I try it with no items yet, it crashes the application.  Is the documentation wrong or am I using it incorrectly?
> 

Never mind me.  It was crashing due to a dangling pointer in my code.

—
Gonzalo Garramuno
ggarra13@gmail.com




-- 
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/B6E361E5-B024-4F4F-BDE3-F3DB112F7C3C%40gmail.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.