On 6/2/07, Andre <[EMAIL PROTECTED]> wrote:
> John Labenski <[EMAIL PROTECTED]> writes:
>
> >
> > For the adventuresome only, make a backup of the current source you
> > have in case something is really wrong. I will be away for the next
> > few days...
> >
> I like it but...
> editorApp:SetVendorName("WXLUA")
> editorApp:SetAppName("LunEdit")
> config = wx.wxConfigBase.Get()
> better be replaced by
> config = wx.wxConfig("WXLUA", "LunEdit")
> otherwise
> config:GetFirstEntry()
> fails
Fixed, this was a bug in the override.hpp file that returned a
wxConfig type instead of the baseclass wxConfigBase from
wx.wxConfigBase.Get().
I adjusted the editor.wx.lua as you said anyway, but use a
wxFileConfig now since I don't like registry entries much and it's
just as well to dispense using wxConfigBase:Get/Set since it's not
really necessary for these smaller programs.
Thanks,
John Labenski
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
wxlua-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxlua-users