|
From: shelarcy <she...@gm...> - 2008-10-24 01:57:11
|
Hi Jeremy,
On Fri, 24 Oct 2008 01:58:18 +0900, Jeremy O'Donoghue <jer...@gm...> wrote:
> One thing to try: does adding a space after the paste tokens and before
> the '*' tokens help?
I fixed problem by this definition that I sent before mail.
#define BUILD_XRCGETCTRL_FN(_typ) \
EWXWEXPORT(wx##_typ *, wxXmlResource_Get##_typ)(wxWindow* _win, wxString* _str_id) \
{ \
return reinterpret_cast<wx##_typ *>(_win->FindWindow(wxXmlResource::GetXRCID(*_str_id))); \
}
http://sourceforge.net/mailarchive/message.php?msg_name=op.ujhe65qag8rhh0%40shelarcywin.localdomain
But your definition doesn't solve this problem.
> (i.e.
>
> #define BUILD_XRCGETCTRL_FN(_typ)
> \
> EWXWEXPORT(wx##_typ## *, wxXmlResource_Get##_typ)(wxWindow* _win,
> wxString* _str_id) \
> {
> \
> return reinterpret_cast<wx##_typ##
> *>(_win->FindWindow(wxXmlResource::GetXRCID(*_str_id))); \
> }
>
> Alternatively, it's pretty easy to replace the auto-generated functions
> with the manually created versions. If you find that the extra space
> suggestion above does not work, I'll do a patch tomorrow with each of
> the functions implemented in full.
Anyway, I fixed this problem now. So you don't have to replace auto-generated
functions with the manually created versions. I attached the newer patch
in this mail.
Best Regards,
--
shelarcy <shelarcy hotmail.co.jp>
http://page.freett.com/shelarcy/ |