> 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
Hi Milind,
> I can follow some things. But now I opened the latest wxwidgets include file
> for events -event.h and this seems to have transformed a lot. Particularly
> there are some templates functions like CallAfter.
I'm not sure where the event-related changes came from; have you
executed
Thanks for all this information. I was going throught the interface files
and to see how they are written I opened the wxwidgets version which the
interface file said it was updated to. To see how things changed from the
include file to the interface file.
I can follow some things. But now I
Hi Milind,
> Apart from binding.html is there any other tutorial or cheat sheet how to
> translate wxWidgets include files to a interface file?
Not really, but I can suggest looking through some of the existing
bindings (including *_override.hpp files), as there is a variety of
binding from
Hi,
A few questions about bindings.Apart from binding.html is there any
other tutorial or cheat sheet how to translate wxWidgets include files to a
interface file?
In the wxlua/bindings directory readme it says that the output
bindings are placed at modules/wxbind and