DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR Pending]

Link: http://www.fltk.org/str.php?L2221
Version: 1.3-feature
Fix Version: 1.3.0 (r6951)


So, you begin to write objective-c code! Beautiful!
I have seen the nice improvement in the drag text effect. Great.

I upload in mach-sysmenuh-cocoa.patch 3 patches as follows:
- in mac.H, add the fl_mac_set_about prototype as discussed

- in Fl_Sys_Menu_Bar.H, add missing #ifdef __APPLE_COCOA__
because the new functions (add, remove, replace) don't apply to Carbon
(sorry, my fault).

- in Fl_cocoa.mm, I don't think the code you added in handleUpdateEvent
is necessary and explain why in comments. But I may be wrong. Let me know.
The patch also introduces some check code that makes sure function
carbonTextHandler is applied only to a genuine FLTK window,
which does no harm for sure, and might even help with Ian's bug.
The fl_mac_set_about first line is corrected (necessary because =0
is in prototype now), and better commented.

About the dynamic_type question: I will see if I can do otherwise
with w->type() call. If not, I don't see how to do otherwise.


Link: http://www.fltk.org/str.php?L2221
Version: 1.3-feature
Fix Version: 1.3.0 (r6951)

_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to