Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
CB_VAR_RECENT_FILES_AND_PROJECTS
(1/1)
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...
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:
--- Code: ---int idStartHerePageLink = wxNewId();
int idStartHerePageVarSubst = wxNewId();
--- End code ---
afb:
http://www.algonet.se/~afb/wx/codeblocks-starthereid.patch
Fixes both of the "Start Here" issues (replace/links) on wxMac.
Navigation
[0] Message Index
Go to full version