Hi,

John Labenski wrote:
> On 6/27/07, Hakki Dogusan <[EMAIL PROTECTED]> wrote:
[snip]
> Does this work?
> 
> { "wxEVT_COMMAND_FILEPICKER_CHANGED",
> (const wxEventType*)&wxEVT_COMMAND_FILEPICKER_CHANGED,
> 

No. ICE.

> or
> 
> &((const wxEventType)wxEVT_COMMAND_FILEPICKER_CHANGED),
> 

No.  error: non-lvalue in unary `&'

>>>> [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).
> 
> I changed the two above to explicitly use wxT("whatever wxWidgets uses")
> 
> To be sure, this does not work?
> 
> { "wxDirSelectorPromptStr", (const wxChar*)wxDirSelectorPromptStr },
> 

No. ICE.

>> But Mingw's official compiler is gcc-3.4.5; IMHO, It would be good to
>> find a solution/workaround..
> 
> Ok.
> 
>> It seems you forgot to update wxLocale::GetString functions for .c_str
>> thing.. :)
> 
> Fixed now.
> 

Thanks.

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