<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user">
    <title>gmane.comp.lib.wxwidgets.wxlua.user</title>
    <link>http://blog.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2094"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2087"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2085"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2082"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2081"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2080"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2078"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2061"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2060"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2059"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2057"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2054"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2048"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2047"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2046"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2045"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2042"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2040"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2039"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2025"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2094">
    <title>TIP: How to build wxWidgets for Windows here &lt;-----</title>
    <link>http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2094</link>
    <description>
I spent hours trying to compile everything on Windows XP 32bit with
VS2005 to no avail.  
While wxLua wasn't so much the problem but wxWidgets was.
There next to no compile instructions, broken and inconsistent project files etc.

Well this will do the trick here:
http://wxpack.sourceforge.net/Main/Downloads

This an excellent Windows build package that will install a nice clean
VS2005/VS2008 build w/extras (like "wxFormBuilder") and with optional pre-built
LIB and DLL versions ready so you only have to recompile what you want to.

</description>
    <dc:creator>Sirmabus</dc:creator>
    <dc:date>2008-08-04T03:15:22</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2087">
    <title>problem with liblua at configure</title>
    <link>http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2087</link>
    <description>Hello,
seems that configure script from wxLua-2.8.7.0-src.tar.gz check the  
system lua installation using -llua5.1 but the standard name for  
liblua is liblua.a, using -llua5.1 would give a fail even on a system  
with lua 5.1 installed properly, this should be fixed.



Andrea

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>Andrea D'Amore</dc:creator>
    <dc:date>2008-07-21T19:31:13</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2085">
    <title>[ANN] patch for wxGlade,to generate GUI code for (wx)Lua</title>
    <link>http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2085</link>
    <description>Hi,

I was looking for some GUI builder for wxLua and I found wxGlade, but it lacks
GUI code generation for Lua. And I looked into the source code of wxGlade
and found that it looks not so difficult to add this functionality.

So, here is a preview patch for wxGlade-0.6.3 and some description.

http://hammm.dw.land.to/lua/wxglade_lua.html

Features :
 - it can generate GUI code that can work on wxLua
 - most of the widgets on the palette are working
 - adding handlers will work
 - you can modify logics of generated code, while let wxGlade update the GUI
part.

Plus,
 - empty sizer slots will not harm generated GUI layout. (for python and
lua code generation)
 - fix some issues about initial size of widgets. 

Some sortcomings :
 - the generated code will always leave one wxlua process, if not manually
exit by ExitMainLoop.
   Currently I don't know why, but any suggestions are welcome.

I hope that this functionality will be merged to wxGlade source tree,
though it'll need some more effort.


It's rather easy to try it out, because no compiling is needed to 
run patched wxGlade (It's in python). So please give it a try, if you have
some interest.

Any comments are welcome.


Thanks,
Makoto Hamanaka &lt;ham.lua-Re5JQEeQqe8AvxtiuMwx3w&lt; at &gt;public.gmane.org&gt;


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>Makoto Hamanaka</dc:creator>
    <dc:date>2008-07-19T21:45:14</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2082">
    <title>extract binding from headers</title>
    <link>http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2082</link>
    <description>Hi John,

I am reaching the point that i want to make more and more bindings.
And so i wonder how you made the *.i files. Do you have a script to 
extract them more or less are is it all handwork?

Nice docs by the way!
I hope i did not miss the answer to my question while reading it roughly :-)

Regards,

Klaas

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>klaas.holwerda</dc:creator>
    <dc:date>2008-07-15T21:57:42</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2081">
    <title>What happened to drag&amp;drop support?</title>
    <link>http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2081</link>
    <description>I have urgent need of wxFileDropTarget support under win32 in wxlua,
if someone can give some hints about which are blocking points, i will
try to help in implementing the remaining parts.

Regards,
Michele

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
</description>
    <dc:creator>Michele Sandri</dc:creator>
    <dc:date>2008-07-07T18:18:57</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2080">
    <title>wxListCtrl problem</title>
    <link>http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2080</link>
    <description>-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php_______________________________________________
wxlua-users mailing list
wxlua-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&lt; at &gt;public.gmane.org
https://lists.sourceforge.net/lists/listinfo/wxlua-users
</description>
    <dc:creator>Éjjeli Őrjárat</dc:creator>
    <dc:date>2008-06-23T18:00:41</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2078">
    <title>wxPropertyGrid and wxLua</title>
    <link>http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2078</link>
    <description>-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php_______________________________________________
wxlua-users mailing list
wxlua-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&lt; at &gt;public.gmane.org
https://lists.sourceforge.net/lists/listinfo/wxlua-users
</description>
    <dc:creator>Matthieu Caron</dc:creator>
    <dc:date>2008-06-19T13:37:50</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2061">
    <title>wxTimer</title>
    <link>http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2061</link>
    <description>Has anybody used wxTimer in wxLua (lua-side) programming?
The only related example I found, was the wxluacan program,
and it seems to use timer events from the C/C++ side.

I can create the wxTimer, but I am not sure what
I am missing when I try to bind it to an event handler.



   Eero

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
</description>
    <dc:creator>Eero Pajarre</dc:creator>
    <dc:date>2008-06-03T20:31:22</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2060">
    <title>Ending the wxApp process when a scripted lua frame isclosed</title>
    <link>http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2060</link>
    <description>-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
wxlua-users mailing list
wxlua-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&lt; at &gt;public.gmane.org
https://lists.sourceforge.net/lists/listinfo/wxlua-users
</description>
    <dc:creator>Matthieu Caron</dc:creator>
    <dc:date>2008-05-29T15:30:13</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2059">
    <title>xrc help</title>
    <link>http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2059</link>
    <description>-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
wxlua-users mailing list
wxlua-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&lt; at &gt;public.gmane.org
https://lists.sourceforge.net/lists/listinfo/wxlua-users
</description>
    <dc:creator>Dennis Sacks</dc:creator>
    <dc:date>2008-05-23T21:33:09</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2057">
    <title>String error</title>
    <link>http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2057</link>
    <description>-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
wxlua-users mailing list
wxlua-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&lt; at &gt;public.gmane.org
https://lists.sourceforge.net/lists/listinfo/wxlua-users
</description>
    <dc:creator>Éjjeli Őrjárat</dc:creator>
    <dc:date>2008-05-17T10:12:47</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2054">
    <title>saving the clipboard on exit (editor)</title>
    <link>http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2054</link>
    <description>Adding this code to CloseWindow will save the text in the clipboard to the 
global clipboard. 

    local clipBoard = wx.wxClipboard.Get()
    local editor = GetEditor()
    if editor:CanPaste() and clipBoard and clipBoard:Open() then
        -- We are pasting into the current document but it will be thrown away
        editor:SelectAll();
        editor:Paste();
        clipBoard.Get():SetData(wx.wxTextDataObject(editor.Text))
        clipBoard.Get():Flush()
        clipBoard.Get():Close()
    end


Andre

PS: Tested only on window.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
</description>
    <dc:creator>andre arpin</dc:creator>
    <dc:date>2008-05-15T20:19:16</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2048">
    <title>Problem with wxSocket</title>
    <link>http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2048</link>
    <description>I'm trying to play with wxSocket, but have strange results. The
fragment of code which I attached works perfectly well when run from
wxluaedit.exe (2.8.7.0-MSW-bin) but hangs after displaying the first
message ("connect: true") when run from any other tool (wxlua,
wxluafreeze, also embedded using wxluafreeze).

Could you please help me?
Thanks,
Mateusz Czaplinski
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________
wxlua-users mailing list
wxlua-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&lt; at &gt;public.gmane.org
https://lists.sourceforge.net/lists/listinfo/wxlua-users
</description>
    <dc:creator>Mateusz Czaplinski</dc:creator>
    <dc:date>2008-05-08T21:30:23</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2047">
    <title>operator bind</title>
    <link>http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2047</link>
    <description>Hi John,

This first few wrap fine.

     %operator a2dDoMu&amp; operator=( const a2dDoMu&amp; );
     %operator a2dDoMu&amp; operator=( const wxChar* );
     %operator a2dDoMu&amp;   operator=( double );
     %operator int operator==( const a2dDoMu&amp; ) const;
     %operator int operator!=( const a2dDoMu&amp; ) const;

But this one refuses:

     %operator operator double();

The idea behind this class is to store internal numbers as "1.23 um" or "1.2 
inch" etc., and the double operator is how to get the value as a single double.

Not a great problem at the moment.
But maybe you can fix it for a next version of wxLua.

Thanks,

Klaas



</description>
    <dc:creator>Klaas Holwerda</dc:creator>
    <dc:date>2008-05-06T13:18:55</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2046">
    <title>Unix wxListCtrl error</title>
    <link>http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2046</link>
    <description>-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________
wxlua-users mailing list
wxlua-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&lt; at &gt;public.gmane.org
https://lists.sourceforge.net/lists/listinfo/wxlua-users
</description>
    <dc:creator>Éjjeli Őrjárat</dc:creator>
    <dc:date>2008-05-06T09:16:32</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2045">
    <title>wxGLCanvas?</title>
    <link>http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2045</link>
    <description>Hi

I downloaded the latest windows binary files and wanted to create a window GUI
using GL Canvas to integrate it into our application - but wxGLCanvas in the wx
table is nil. The documentation states that it is integrated however. 
Any tips what I am doing wrong?

Thanks
Eike Decker

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
</description>
    <dc:creator>Eike Decker</dc:creator>
    <dc:date>2008-04-27T21:15:38</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2042">
    <title>wxlua example program.</title>
    <link>http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2042</link>
    <description>As a great fan of lua ( and wx of course ), i joined a wxlua based project.

It's called luacalc and is hosted on sourceforge.

*atm the *BETA* version is located in svn/experiment.(will be solved)
  the BETA is the version to download.

Basically luacalc is an interface between a (excel alike) sheet and wx.
 it has:
  - a GUI completely based on sizers.
  - realtime data update (the sheet itself is a lua progam)
  - basic graphics like a resizable line graph.(realtime too)
  - atm no good csv support but it can load *some* csv.
    *(loads/saves own lua tables)
  - loads directly under wxlua editor (as dll, windows only,rest is untested)
  - Example sheets like graphics,timezones,system,font properties.
   *these reside in the main svn folder under grids, !! use the .lsv NOT .csv !!

*reminder: because lua uses : for objects and csv : for ranges
 use the pipe | like A1|B6 to select range A1 to B6 (returns a table)
  A1:create() is possible this way.

Try it,any suggestions are welcome.(even negative as long as they can be used in
a positive way).

I would be very honoured if the wxlua site would reference to us (a bit of
advertising never hurts), or any other kind of cooperation.

Luacalc itself is a good demonstration of several wx parts interfaced together,
so if you want to learn about wx workings it seems a good source (to me).
 ( whether the code is optimal stays a point of discussion )
 
Thank you for your time.

The Luacalc dev team.

04/18/08




-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
</description>
    <dc:creator>LuaCalc Dev</dc:creator>
    <dc:date>2008-04-18T09:27:34</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2040">
    <title>Problem with wxLua on Windows.</title>
    <link>http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2040</link>
    <description>Hi,

I'm looking into using wxLua in a project (have previously used vanilla
lua), but I'm experiencing a bit of a problem.

I am using the latest windows binaries from the wxLua site, I have
generated a simple import library for wx.dll by providing the luaopen_wx
export.

I call the luaopen_wx function in the same manner that the other lua
libraries are opened (basically a copy of the luaL_openlibs function),
and wxLua is loading and I can quite happily use it, a call to
wx.wxMessageBox promptly opens a messagebox.

My simple test case simply does a lua_open, lua_openlibs (including wx),
lua_close.  It doesn't actually execute any lua code.  When the host
program exits, wx.dll tries to access the lua_state variable (which was
closed long before) and ends up accessing an invalid pointer, and
crashes.  It appears to be when wx.dll is unloaded.

I'm using Visual Studio 2008 and I'm using wxLua to provide a scripting
language with cross platform UI capabilities, the host application is
not a wxWidgets application.

What exactly am I doing wrong?!  How do I prevent this crash in wx.dll
from occuring?

Apart from the crash when the host application exits, it's working
perfectly!  So it's a little bit frustrating.

Thanks.

Adrian



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
</description>
    <dc:creator>Adrian Carpenter</dc:creator>
    <dc:date>2008-04-15T13:24:53</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2039">
    <title>Crash on exit.</title>
    <link>http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2039</link>
    <description>Hi,

I'm looking into using wxLua in a project (have previously used vanilla
lua), but I'm experiencing a bit of a problem.

I am using the latest windows binaries from the wxLua site, I have
generated a simple import library for wx.dll by providing the luaopen_wx
export.

I call the luaopen_wx function in the same manner that the other lua
libraries are opened (basically a copy of the luaL_openlibs function),
and wxLua is loading and I can quite happily use it, a call to
wx.wxMessageBox promptly opens a messagebox.

My simple test case simply does a lua_open, lua_openlibs (including wx),
lua_close.  It doesn't actually execute any lua code.  When the host
program exits, wx.dll tries to access the lua_state variable (which was
closed long before) and ends up accessing an invalid pointer, and
crashes.  It appears to be when wx.dll is unloaded.

I'm using Visual Studio 2008 and I'm using wxLua to provide a scripting
language with cross platform UI capabilities, the host application is
not a wxWidgets application.

What exactly am I doing wrong?!  How do I prevent this crash in wx.dll
from occuring?

Apart from the crash when the host application exits, it's working
perfectly!  So it's a little bit frustrating.

Thanks.

Adrian

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
</description>
    <dc:creator>Adrian Carpenter</dc:creator>
    <dc:date>2008-04-15T13:23:38</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2025">
    <title>correction to editor.wx.lua</title>
    <link>http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2025</link>
    <description>problem:
wxlua editor.wx.lua

logoff 

an error occur when config:delete is executed. The error message is misleading 
but removing this line clear the problem.

config may already be deleted at this point 

If it is kept it should probably be conditionnal but I could not find any 
usable state information that could be used.

remove 
    config:delete() -- always delete the config
at line 2333

Andre



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
</description>
    <dc:creator>andre arpin</dc:creator>
    <dc:date>2008-04-03T14:08:53</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2015">
    <title>problem using wx.dll</title>
    <link>http://comments.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2015</link>
    <description>wx.dll is mostly working and is very useful using window xp Visual Studio 2005.
I have encounter the following problem.

Index value to variables in _G may not be available ( maybe only within event )

Reproducing the problem

create wx.dll
run:
  lua editor.wx.lua auidemo.wx.lua bindings.wx.lua calculator.wx.lua

at line 397 attempt to index a field '?' (a nil value)
the line is 
    local pageText = openDocuments[id].fileName or "untitled.lua"

the index 'id' in openDocuments has vanish

---------------------------- Testing

add
    wx.wxMessageBox(type(openDocuments[id]), tostring(id),  wx.wxOK, frame)
    wx.wxMessageBox(type(openDocuments[100]), tostring(100),  wx.wxOK, frame)
just before the line
    local pageText = openDocuments[id].fileName or "untitled.lua"
run the same test.

notice that when id 102 is used that both 
openDocuments[id] is nil the expected problem and also
openDocuments[100] is nil we know that is not true.

If you keep tracing then openDocuments[102] reappears.

NOTE:

I have a dump program which shows that openDocuments has the index 100, 101 
and 102 when it is not found. (dumping _G)

-------------------------------- More info
I have also encounter some memory error in lua while usin wx.dll but this is 
probably related. I will try to narrow the problem but I am not very familiar 
with the code. 

Thanks for all your work.
Andre



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
</description>
    <dc:creator>andre arpin</dc:creator>
    <dc:date>2008-03-31T19:48:39</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.lib.wxwidgets.wxlua.user">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.lib.wxwidgets.wxlua.user</link>
  </textinput>
</rdf:RDF>
