> Now I am trying to see if there is any existing template function binding in
> any interface file so I can try to add that. Do you know of any that you
> looked at, or any idea of any particular thing to take care of to bind
> templates functions?
This I'm not sure about and am open to
I see. I was calling it from the event object. Thanks for clarifying. For
the other things any guidance on how it is decided which include file
content goes where in wxlua?
Thanks,
Milind
On Sun, 22 Oct 2023 at 13:11, Paul K wrote:
> Hi Milind,
>
> It works for me: `frame:CallAfter(function()
Hi Milind,
It works for me: `frame:CallAfter(function() os.exit() end)` is a
rough equivalent of
`frame:AddPendingEvent(wx.wxCommandEvent(wx.wxEVT_COMMAND_MENU_SELECTED,
ID.EXIT))`.
It should be available for all wxFrame and other classes that inherit
from wxEvtHandler.
Paul.
On Sun, Oct 22,
Hi Paul,
I was trying to use the function Callafter as described here:
https://docs.wxwidgets.org/3.0/classwx_evt_handler.html#a63c7351618fd77330d80a250b3719519
I checked wxbase_base.i and I see that you have it defined there. But when
I tried to call it and got the error of trying to call