Re: [Wxlua-users] Re: wxLua for wxMac

2006-03-10 Thread John Labenski
On 3/10/06, Anders F Björklund <[EMAIL PROTECTED]> wrote: > John Labenski wrote: > > >> Will recompile wxLua with full debugging symbols enabled tomorrow, I > >> think. > > > > That would be great, sorry but I can't help without some more > > information. I can't imagine what could fail in > > wxLu

Re: [Wxlua-users] Re: wxLua for wxMac

2006-03-10 Thread Anders F Björklund
John Labenski wrote: Will recompile wxLua with full debugging symbols enabled tomorrow, I think. That would be great, sorry but I can't help without some more information. I can't imagine what could fail in wxLuaEditorApp::OnInit, but a line number would help! Here you go then: Program rece

Re: [Wxlua-users] Re: wxLua for wxMac

2006-03-09 Thread John Labenski
On 3/9/06, Anders F Björklund <[EMAIL PROTECTED]> wrote: > > BTW, does your locale uses a dot or a comma or something else for > > decimal point ? > > Sweden uses a comma for decimal point, I think that should be in my > locale ? > (it varies a little, sometimes I use an US locale for the shell and

Re: [Wxlua-users] Re: wxLua for wxMac

2006-03-09 Thread Anders F Björklund
Francesco Montorsi wrote: BTW, does your locale uses a dot or a comma or something else for decimal point ? Sweden uses a comma for decimal point, I think that should be in my locale ? (it varies a little, sometimes I use an US locale for the shell and terminal) If it uses something != dot

[Wxlua-users] Re: wxLua for wxMac

2006-03-09 Thread Francesco Montorsi
Anders F Björklund ha scritto: What do you mean about tabs being screwed up? Could you try again, I made a little fix to the sizing of the wxLuaConsole class so that it uses EVT_SIZE and not virtual wxWindow::DoSetSize. Hopefully this'll do it? Well, eventually I got it all updated from CVS (an

Re: [Wxlua-users] Re: wxLua for wxMac

2006-03-09 Thread Anders F Björklund
What do you mean about tabs being screwed up? Could you try again, I made a little fix to the sizing of the wxLuaConsole class so that it uses EVT_SIZE and not virtual wxWindow::DoSetSize. Hopefully this'll do it? Well, eventually I got it all updated from CVS (and to wxStEdit 1.2.0) and it look

Re: [Wxlua-users] Re: wxLua for wxMac

2006-03-09 Thread Anders F Björklund
Francesco Montorsi wrote: Will investigate what I need to update on my end. Tomorrow, was it ? :-) this is a error message I added yersterday. Make sure to update wxStEdit from CVS too and the problem should disappear... Found that wxstedit had installed itself to /usr/local/include/wx, so it

[Wxlua-users] Re: wxLua for wxMac

2006-03-09 Thread Francesco Montorsi
Anders F Björklund ha scritto: John Labenski wrote: made a little fix to the sizing of the wxLuaConsole class so that it uses EVT_SIZE and not virtual wxWindow::DoSetSize. Hopefully this'll do it? Updated from CVS, but seems there are some other changes as well: #error wxStEdit does not defi

Re: [Wxlua-users] Re: wxLua for wxMac

2006-03-08 Thread Anders F Björklund
John Labenski wrote: made a little fix to the sizing of the wxLuaConsole class so that it uses EVT_SIZE and not virtual wxWindow::DoSetSize. Hopefully this'll do it? Updated from CVS, but seems there are some other changes as well: #error wxStEdit does not define its version symbols STE_MAJOR

[Wxlua-users] Re: wxLua for wxMac

2006-03-08 Thread Francesco Montorsi
John Labenski ha scritto: On 3/8/06, Anders F Björklund <[EMAIL PROTECTED]> wrote: Francesco Montorsi wrote: Missed that the tabs of wxLuaEdit are screwed up :( But it could be something minor, or upstream problem. (i.e. no reason to say that it doesn't support wxMac) does the wxStedit sample

Re: [Wxlua-users] Re: wxLua for wxMac

2006-03-08 Thread Anders F Björklund
John Labenski wrote: What do you mean about tabs being screwed up? See the screenshot, it's "really really small" :-) http://wxlua.sourceforge.net/screenshots/wxlua_miscsamples_mac.png Here is what the "wxstedit" C++ sample looks like: http://www.algonet.se/~afb/wx/wxstedit.png Could you tr

Re: [Wxlua-users] Re: wxLua for wxMac

2006-03-08 Thread John Labenski
On 3/8/06, Anders F Björklund <[EMAIL PROTECTED]> wrote: > Francesco Montorsi wrote: > > >> Missed that the tabs of wxLuaEdit are screwed up :( > >> But it could be something minor, or upstream problem. > >> (i.e. no reason to say that it doesn't support wxMac) > > does the wxStedit sample looks go

Re: [Wxlua-users] Re: wxLua for wxMac

2006-03-08 Thread Anders F Björklund
Francesco Montorsi wrote: Missed that the tabs of wxLuaEdit are screwed up :( But it could be something minor, or upstream problem. (i.e. no reason to say that it doesn't support wxMac) does the wxStedit sample looks good on your Mac ? Yes it does, so there is hope :-) --anders --

[Wxlua-users] Re: wxLua for wxMac

2006-03-08 Thread Francesco Montorsi
Anders F Björklund ha scritto: Francesco Montorsi wrote: This really looks as a bug in wxWidgets itself. Yes it does, but it's present in 2.6.1 and 2.6.2 at least even if we "fix" 2.6.3 ? I think it would be difficult to handle this case nicely in wxLua binding wrappers... it's probably b

[Wxlua-users] Re: wxLua for wxMac

2006-03-08 Thread Francesco Montorsi
Anders F Björklund ha scritto: Francesco Montorsi wrote: Francesco, are there any other things that need to be fixed that you haven't done yet? no; now wxLua should compile & work also on wxMac. We just need wxMac screenshots and packaging stuff :) It compiles OK, but works ? Not 100%, I di

Re: [Wxlua-users] Re: wxLua for wxMac

2006-03-07 Thread Anders F Björklund
John Labenski wrote: I did a fix for it in the binding files. Hopefully it'll work now. %win|%mac wxDropSource(wxWindow* win = NULL, const wxCursor& iconCopy = wxNullCursor, const wxCursor& iconMove = wxNullCursor, const wxCursor& iconStop = wxNullCursor) %gtk wxDropSource(wxWindow* wi

Re: [Wxlua-users] Re: wxLua for wxMac

2006-03-07 Thread Anders F Björklund
Francesco Montorsi wrote: This really looks as a bug in wxWidgets itself. Yes it does, but it's present in 2.6.1 and 2.6.2 at least even if we "fix" 2.6.3 ? I think it would be difficult to handle this case nicely in wxLua binding wrappers... it's probably better to submit a patch to wx de

Re: [Wxlua-users] Re: wxLua for wxMac

2006-03-07 Thread Anders F Björklund
Francesco Montorsi wrote: Francesco, are there any other things that need to be fixed that you haven't done yet? no; now wxLua should compile & work also on wxMac. We just need wxMac screenshots and packaging stuff :) It compiles OK, but works ? Not 100%, I discovered. Missed that the tabs o

Re: [Wxlua-users] Re: wxLua for wxMac

2006-03-07 Thread John Labenski
On 3/7/06, Francesco Montorsi <[EMAIL PROTECTED]> wrote: > John Labenski ha scritto: > > Francesco, are there any other things that need to be fixed that you > > haven't done yet? > no; now wxLua should compile & work also on wxMac. > We just need wxMac screenshots and packaging stuff :) Great! T

[Wxlua-users] Re: wxLua for wxMac

2006-03-07 Thread Francesco Montorsi
John Labenski ha scritto: On 3/7/06, Francesco Montorsi <[EMAIL PROTECTED]> wrote: Anders F Björklund ha scritto: Francesco Montorsi wrote: I've checked in the __WXMAC__ changes and the inclusion of internal.h but not these changes: +#ifndef __WXMAC__ // call constructor returns =

Re: [Wxlua-users] Re: wxLua for wxMac

2006-03-07 Thread John Labenski
On 3/7/06, Francesco Montorsi <[EMAIL PROTECTED]> wrote: > Anders F Björklund ha scritto: > > Francesco Montorsi wrote: > > > >> I've checked in the __WXMAC__ changes and the inclusion of internal.h > >> but not these changes: > >> > >> +#ifndef __WXMAC__ > >> // call constructor > >> ret

[Wxlua-users] Re: wxLua for wxMac

2006-03-07 Thread Francesco Montorsi
Anders F Björklund ha scritto: Francesco Montorsi wrote: I've checked in the __WXMAC__ changes and the inclusion of internal.h but not these changes: +#ifndef __WXMAC__ // call constructor returns = new wxDropSource(win, *iconCopy, *iconMove, *iconStop); +#else +returns = new wx

Re: [Wxlua-users] Re: wxLua for wxMac

2006-03-07 Thread Anders F Björklund
Francesco Montorsi wrote: I've checked in the __WXMAC__ changes and the inclusion of internal.h but not these changes: +#ifndef __WXMAC__ // call constructor returns = new wxDropSource(win, *iconCopy, *iconMove, *iconStop); +#else +returns = new wxDropSource(win); +#endif they a

[Wxlua-users] Re: wxLua for wxMac

2006-03-07 Thread Francesco Montorsi
Hi, Anders F Björklund ha scritto: Francesco Montorsi wrote: the inclusion of lua internal.h is strange - we don't need it on win or unix. Well, the reason I needed to add it was that I got missing symbols for lua2wx and wx2lua. It is supposed to inline those calls, but... I've checked in the

Re: [Wxlua-users] Re: wxLua for wxMac

2006-03-06 Thread Anders F Björklund
Francesco Montorsi wrote: the absence of __WXMAC__ symbols can only be noticed when compiling on Mac :) Yeah, those I'll worry about so no need to check on Windows/Linux :-) the inclusion of lua internal.h is strange - we don't need it on win or unix. Well, the reason I needed to add it wa

[Wxlua-users] Re: wxLua for wxMac

2006-03-06 Thread Francesco Montorsi
Anders F Björklund ha scritto: Francesco Montorsi wrote: I'm quite sure the patch is good. Unfortunately I haven't got a Mac to test it nor John or Klaas, I think so your help is very useful! No problem, but some of the issues encountered should be present on all the platforms ? Especially th

Re: [Wxlua-users] Re: wxLua for wxMac

2006-03-06 Thread Anders F Björklund
Francesco Montorsi wrote: I'm quite sure the patch is good. Unfortunately I haven't got a Mac to test it nor John or Klaas, I think so your help is very useful! No problem, but some of the issues encountered should be present on all the platforms ? Especially these two: 1) wxluaedit.cpp patch

[Wxlua-users] Re: wxLua for wxMac

2006-03-06 Thread Francesco Montorsi
Hi, Anders F Björklund ha scritto: I've posted a patch to the SourceForge tracker with some changes needed for wxMac compilation... http://sourceforge.net/tracker/index.php?func=detail&aid=1444354&group_id=140042&atid=745326 Thanks ! I'm quite sure the patch is good. Unfortunately I haven't g