News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

CB_VAR_RECENT_FILES_AND_PROJECTS

Started by afb, November 01, 2006, 10:37:01 PM

Previous topic - Next topic

afb

Does anyone have an idea why this would be broken straight across the board on Mac OS X ? That is, the Start Here text replacement isn't working in either of wxMac nor wxGTK ?

The "Create" and "Open" links aren't working either, so I'm guessing it is something about those custom event types that just isn't happening on the Mac OS X platform. Or something...

afb

Update: the wxCommandEvents are created, but the handlers are never invoked.
(MainFrame::OnStartHereLink and MainFrame::OnStartHereVarSubst not called)

mandrav

Maybe we need to declare some *real* events for this to work...
Be patient!
This bug will be fixed soon...

afb

It wasn't the event type (using MENU is OK), it was the event id...
Replacing wxNewId() with a constant number made it work here.

Probably a compiler issue, which explains why it wasn't working
in wxGTK either. Moving the initializers to main.cpp also worked:


int idStartHerePageLink = wxNewId();
int idStartHerePageVarSubst = wxNewId();


afb