On 6/28/07, Hakki Dogusan <[EMAIL PROTECTED]> wrote:
> 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),
> >
Ok, what about this... (lets pass on the XXXSelectorPrompts since they
seem to work now.)
Before the struct, put this (preferred)
wxEventType* wxLUA_EVT_COMMAND_FILEPICKER_CHANGED =
&wxEVT_COMMAND_FILEPICKER_CHANGED;
or maybe just this
wxEventType wxLUA_EVT_COMMAND_FILEPICKER_CHANGED =
wxEVT_COMMAND_FILEPICKER_CHANGED;
or even
wxEventType& wxLUA_EVT_COMMAND_FILEPICKER_CHANGED =
wxEVT_COMMAND_FILEPICKER_CHANGED;
Then use the "local" variable in the struct (as appropriate for what
you use above)
{ "wxEVT_COMMAND_FILEPICKER_CHANGED",
wxLUA_EVT_COMMAND_FILEPICKER_CHANGED,
There's a hack for mingw for wxDefaultPosition and wxDefaultSize at
the top of modules/wxbind/src/wx_bind.cpp that does something similar
and it even has the same error right?
// FIX: "internal compiler error: output_operand: invalid expression as operand"
-------------
Other than that, I'm afraid that we simply have to be #ifdef
!MINGW3.4.5, unless you can think of something else. Is there
something that MingW defines that we can use as a check, instead of
the obviously wrong MINGW3.4.5 above?
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