close()?
Thanks for some feedback!
--
Best regards,
Andreas Falkenhahn mailto:andr...@falkenhahn.com
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubles
Lua-2.8.10-src.tar.gz
Is there any official download for the sources of 2.8.12.2?
On 09.08.2013 at 15:37 Andreas Falkenhahn wrote:
> Hi,
> I need to get wxLua running with Lua 5.0.2. I think I made all the necessary
> changes and I have it basically working now but at the end when lua_clo
veryminimal.wx.lua
you'll see that it runs but crashes on exit. Does anybody have an explanation
for
this behaviour? I use the Visual C compiler.
On 09.08.2013 at 17:36 Andreas Falkenhahn wrote:
> Hmm, I tried it now using Lua 5.1 and it crashes as well could it be that
> I'm
> using
.. it doesn't
happen with the official builds of wxLua for Windows. This is why I'm even
more curious what could be the cause for this crash... any other ideas?
Thanks
--
Best regards,
Andreas Falkenhahn
with a
> couple of tweaks to wxlua that I documented in the build script. It
> does still crash though in some other cases, so I do have os.exit in
> my application as well.
Ok, maybe I'll try it with mingw but I can hardly believe th
h at the end, when the program is about to be terminated.
--
Best regards,
Andreas Falkenhahnmailto:andr...@falkenhahn.com
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
old.
It isn't related to 5.0.2 because the same issue happens with Lua 5.1.
It was just my first thought that it could be related to 5.0.2 but tests
have shown that it happens with 5.1 too... see the example in the archive
above.
--
Best regards,
Andreas Falkenhahn
ee/trunk/wxLua/apps/wxluafreeze/wxluafreeze.cpp
>
> or this which is for loading from a DLL, note the wxApp too.
> http://sourceforge.net/p/wxlua/svn/184/tree/trunk/wxLua/modules/luamodule/luamodule.cpp
Yes, luamodule.
they're on the stack. Once they've been popped,
they could become invalid at any time. Thus, the code posted above could
lead to a memory access fault under certain conditions.
--
Best regards,
Andreas Falkenhahn mailto:a
Hi,
just discovered some small typos in the calculator.wx.lua sample: when setting
up the
accelerator table it uses wx.VXK_NUMPAD several times... but this is
apparently a
nil reference. The correct reference is wx.WXK_NUMPAD, i.e. WXK instead of
VXK.
--
Best regards,
Andreas Falkenhahn
a value of type "userdata" on the stack. Thus,
the condition check is superfluous because it is always TRUE and
SetToolTip() will always be called.
Correct me if I overlooked something here...
--
Best regards,
Andreas Falkenhahn mailto:an
Thus, the code above is likely to crash if the user calls SetAlphaData() with
a string containing more than width*height bytes. Instead, it should be:
size_t size = self->GetWidth()*self->GetHeight();
memcpy(self->GetData(), data, wxMin(len, size));
--
Best regards,
e function expected to return if wxImage::GetAlpha() returns NULL?
Currently it returns wx.NULL but of course it could also be made to return NIL,
an empty string, or even nothing here not sure how wxLua is supposed to
behave in this case.
--
Best regards,
Andreas Falkenhahn
wxImage::wxImage(string [, number])
04. wxImage::wxImage(number , number [, boolean])
05. wxImage::wxImage(wxImage)
06. wxImage::wxImage()
--
Best regards,
Andreas Falkenhahn mailto:andr...@falkenhahn.com
but
in each
callback I get a different class name. How can this be? I'd expect to get
"wxFrame"
in each callback but instead I get "wxFrame" only in the constructor. In the
other
two callbacks it is "wxWindow" and then even "wx
arted.
Thanks!
--
Best regards,
Andreas Falkenhahn mailto:andr...@falkenhahn.com
--
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your
p://wxlua.sourceforge.net
> Regards,
> John Labenski
--
Best regards,
Andreas Falkenhahnmailto:andr...@falkenhahn.com
--
How ServiceNow helps IT people transform IT departments
frame:Show(true)
wx.wxGetApp():MainLoop()
--
Best regards,
Andreas Falkenhahn mailto:andr...@falkenhahn.com
--
October
Hi,
wxLua currently doesn't seem to expose the wxNOT_FOUND constant which is often
used
when working with various controls. I think the following line should be added
to
bindings/wxcore_defsutils.i to make wx.wxNOT_FOUND available to wxLua:
#define wxNOT_FOUND
--
Best regards,
An
tion is right. I just need to know what
code in wxLua triggers the wxLuaEventCallback dtor.
Thanks!
--
Best regards,
Andreas Falkenhahn mailto:andr...@falkenhahn.com
--
October Webinars: Code for P
t I don't know enough
about C++ and wxWidgets to be able to tell where exactly the dtor is invoked.
I'd assume that it is the call to Unref() in ClearwxLuaState() but I'm
not sure, that's why I'd like to have some feedback on it...
ction, this is to be expected.
Thanks for the explanation. I didn't know that wxWidgets will delete
the user data passed to Connect().
--
Best regards,
Andreas Falkenhahnmailto:andr...@falkenhahn.com
-
:delete(wxEvtHandler(self))
Am I missing something here or is this a bug?
--
Best regards,
Andreas Falkenhahn mailto:andr...@falkenhahn.com
--
DreamFactory - Open Source REST & JSON Services
On 15.11.2013 at 23:28 John Labenski wrote:
> On Fri, Nov 15, 2013 at 4:23 PM, Andreas Falkenhahn
> wrote:
>
> Hi,
>
> how is manual delete supposed to work in wxLua? I tried to call
>
> myButton = wx.wxButton()
> myButton:delete()
>
> You are
On 15.11.2013 at 23:37 John Labenski wrote:
> On Fri, Nov 15, 2013 at 5:34 PM, Andreas Falkenhahn
> wrote:
>
> On 15.11.2013 at 23:28 John Labenski wrote:
>
>> You are supposed to use myButton:Destroy() to let wxWidgets
>> properly delete it. The delete() fun
. wxObject has a Ref() method but that doesn't seem to
be up for the job.
Any hints?
--
Best regards,
Andreas Falkenhahn mailto:andr...@falkenhahn.com
--
DreamFactory - Open Source REST & JSO
On 17.11.2013 at 19:37 John Labenski wrote:
> On Sun, Nov 17, 2013 at 9:21 AM, Andreas Falkenhahn
> wrote:
>
> Hi,
>
> what's the recommended way to prevent objects from being garbage collected?
> For example, I create a wxImageList and pass it to
> wxNo
wxID_ANY seems to confuse wxLua here because even if the
user clicks the wxRadioBox that has the id RadioPage_Radio wxLua will still
run the OnRadioBox2() callback. Is that a bug or some kind of limitation?
Thanks!
--
Best regards,
Andreas Falkenhahnmailto:andr
ries of Connect() calls which
led to the general handler getting called first.
--
Best regards,
Andreas Falkenhahnmailto:andr...@falkenhahn.com
--
Shape the Mobile Experience: Free Subscri
idn't work:
local ctrl = wx.wxTextCtrl(...)
ctrl.OnRightClick = function(event) print("test") end
--
Best regards,
Andreas Falkenhahn mailto:andr...@falkenhahn.com
--
Shape the Mob
n't think the tree ctrl events will work
on them...
--
Best regards,
Andreas Falkenhahnmailto:andr...@falkenhahn.com
--
Shape the Mobile Experience: Free Subscription
Software experts and develo
Hi John,
On 24.11.2013 at 06:44 John Labenski wrote:
> On Nov 23, 2013 4:30 PM, "Andreas Falkenhahn" wrote:
>> Hi,
>> I'm trying to port some C++ code to wxLua that derives a new class from
>> wxTextCtrl and then overrides the OnRightClick() method of t
On 25.11.2013 at 05:17 John Labenski wrote:
> On Sun, Nov 24, 2013 at 5:13 AM, Andreas Falkenhahn
> wrote:
>
> Hi John,
>
>
>>> I'm trying to port some C++ code to wxLua that derives a new class from
>>> wxTextCtrl and then overrides the OnRig
33 matches
Mail list logo