Hi,

John Labenski wrote:
> On 6/27/07, Hakki Dogusan <[EMAIL PROTECTED]> wrote:
>> Ok, narrowed more.. If I uncomment one of them compiler dies. I tried to
>> simplify #if front of them, but didn't succeded.
>>
>> [wxLuaGetEventList_wx]
>> { "wxEVT_COMMAND_DIRPICKER_CHANGED", &wxEVT_COMMAND_DIRPICKER_CHANGED,
>> &s_wxluatag_wxFileDirPickerEvent },
>> { "wxEVT_COMMAND_FILEPICKER_CHANGED", &wxEVT_COMMAND_FILEPICKER_CHANGED,
>> &s_wxluatag_wxFileDirPickerEvent },
> 
> These look like they're defined in the same way as any other event.
> 
>> [wxLuaGetStringList_wx]
>> { "wxDirSelectorPromptStr", wxDirSelectorPromptStr },
>> { "wxFileSelectorPromptStr", wxFileSelectorPromptStr },
> 
> If it doesn't fail on wxFileSelectorDefaultWildcardStr, which is
> declared exactly like the two above, then I dunno.
> 

Want to hear something more confusing? Code compiles with static 
configuration (I'm building ds284u.dll with adding wxLua sources to 
Code::Blocks project, and using wx as static lib).

> You said that you're ok using gcc 4.X. Thanks for tracking these down,
> lets just leave it because I don't know what could be the problem. If
> for some reason someone *really* wants to use the 3.X version we'll
> have these messages to start from, but I think the only solution may
> be to either remove them or replace with with wxT("What the string
> really is.").
> 

But Mingw's official compiler is gcc-3.4.5; IMHO, It would be good to 
find a solution/workaround..

>> ps. there are #endif lines without a #if in gdi.cpp (new from cvs)
> 
> Oops, that was a bug in the code generated for %members. Fixed now,
> surprisingly, the gcc 4.? that I use in Linux didn't even warn about
> them.
> 

Thanks.

It seems you forgot to update wxLocale::GetString functions for .c_str 
thing.. :)


> Thanks,
>     John Labenski
> 


--
Regards,
Hakki Dogusan

-------------------------------------------------------------------------
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

Reply via email to