Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
cbEVT_WORKSPACE_CLOSE_BEGIN new event
earlgrey:
--- Quote from: oBFusCATed on September 19, 2015, 12:30:15 pm ---OK, I'll push it some time next week.
p.s. Don't use -R when generating patches.
--- End quote ---
You did replace some "_CLOSE_" words in my patch by "_CLOSING_" ones, but in sdk_events.h :
--- Code: ---extern EVTIMPORT const wxEventType cbEVT_WORKSPACE_CLOSING_BEGIN;
#define EVT_WORKSPACE_CLOSING_BEGIN(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_WORKSPACE_CLOSE_BEGIN, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ),
extern EVTIMPORT const wxEventType cbEVT_WORKSPACE_CLOSING_COMPLETE;
#define EVT_WORKSPACE_CLOSING_COMPLETE(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_WORKSPACE_CLOSE_COMPLETE, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ),
--- End code ---
you forgot "_CLOSE_" words in the DECLARE_EVENT_TABLE_ENTRY(...), so these macros wont be usable.
oBFusCATed:
Should be fixed in trunk.
earlgrey:
Thx
Navigation
[0] Message Index
[*] Previous page
Go to full version