Christian Convey wrote:
> For the first time (for me, that is) I'm porting an FLTK app from Linux to OS 
> X 10.5.
> 
> On Linux, the app works just fine.  But on OS X, the menus won't active.  
> That is, clicking on the window's menu bar acts like a no-op.
> 
> I'm using an Fl_Menu_Bar attached to an Fl_Window object.
> 
> I'm pretty much at a loss.  Any suggestions for what might be causing this, 
> or what I should check?

        Do you find your app opens 'below' other windows, and that ALL widgets
        in your app, not just the menu bar, are unresponsive to mouse clicks?
        If so, make sure you've first created a real Mac ".app bundle" for your 
app.

        I think someone wrote an article for this on the FLTK website,
        but I can't find it by searching the Articles for "bundle".
        I do have this info on my 'cheat' page for how to make Mac bundles:
        http://seriss.com/people/erco/fltk/#MacBundle

        If you already have a bundle, and the above is not the problem,
        then: are you able to write a trivial test application that just
        contains a window and menu bar?

        If so, then slowly modify the small app to look more like your
        real app until you find where it chokes up.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to