Hi,
John Labenski wrote:
> On 6/28/07, Hakki Dogusan <[EMAIL PROTECTED]> wrote:
>
> 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_FI
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.
>
> > o
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. erro
On 6/27/07, Hakki Dogusan <[EMAIL PROTECTED]> wrote:
> 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.
> >>
> >> [wxLuaGetEventLi
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_DIRPIC
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_wxFi
Hi,
John Labenski wrote:
> On 6/26/07, Hakki Dogusan <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> Exact positions are:
>>[snip]
>
> And if you just leave wxEVT_COMMAND_DIRPICKER_CHANGED as the only
> unremmed item it doesn't work? ? What about commenting parts of the
> #if statement to narrow things d
On 6/26/07, Hakki Dogusan <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Exact positions are:
>
> wxLuaBindEvent* wxLuaGetEventList_wx(size_t &count)
> {
> static wxLuaBindEvent eventList[] =
> {
> /*hd...
> #if (wxCHECK_VERSION(2,8,0) && wxLUA_USE_wxPicker) &&
> ((wxLUA_USE_wxDirPickerCtrl || wxLU
Hi,
John Labenski wrote:
> On 6/26/07, Hakki Dogusan <[EMAIL PROTECTED]> wrote:
>>> What about just this? Remove the IsEmpty and NULL. Does it work just
>>> using c_str()?
>> No, it didn't work. ( "" != NULL Isn't it?)
>
> It should be the same.
> const char* str = "";
> should be the same as
> c
On 6/26/07, Hakki Dogusan <[EMAIL PROTECTED]> wrote:
> >
> > What about just this? Remove the IsEmpty and NULL. Does it work just
> > using c_str()?
>
> No, it didn't work. ( "" != NULL Isn't it?)
It should be the same.
const char* str = "";
should be the same as
const char* str = {0};
since strin
Hi,
John Labenski wrote:
> On 6/26/07, Hakki Dogusan <[EMAIL PROTECTED]> wrote:
>>> I think I found the reason of requiring szDomain parameter to translate..
>>>
>>> [intl.h]
>>> virtual const wxChar *
>>> GetString(const wxChar *szOrigString,
>>>const wxChar *szDomain = NULL) const;
>
I committed a fix using "str:IsEmpty() ? NULL : str.c_str()", but I'd
still like to know if we can just use "str.c_str()".
Thanks,
John Labenski
On 6/26/07, John Labenski <[EMAIL PROTECTED]> wrote:
> On 6/26/07, Hakki Dogusan <[EMAIL PROTECTED]> wrote:
> > >
> > > I think I found the reason o
On 6/26/07, Hakki Dogusan <[EMAIL PROTECTED]> wrote:
> >
> > I think I found the reason of requiring szDomain parameter to translate..
> >
> > [intl.h]
> > virtual const wxChar *
> > GetString(const wxChar *szOrigString,
> >const wxChar *szDomain = NULL) const;
> >
> > szDomain is decla
Hi,
[snip]
>>>
>>> loc = wx.wxLocale(wx.wxLANGUAGE_TURKISH)
>>>
>>> print(loc:GetString("&About")) --not translated
>>> print(loc:GetString("&About", "wxstd")) --translated
>>>
>>> print(wx.wxGetTranslation("&About")) --not translated
>>> print(wx.wxGetTranslation("&About", "wxstd")) --translated
Hi,
John Labenski wrote:
> On 6/26/07, Hakki Dogusan <[EMAIL PROTECTED]> wrote:
>> Since it compiled with gcc-4.1.2 I tried to find my other -translation-
>> problem first. After -all day- compiling with different configurations,
>> a few minutes ago I found the reason! (Why it is always the last
On 6/26/07, Hakki Dogusan <[EMAIL PROTECTED]> wrote:
> Since it compiled with gcc-4.1.2 I tried to find my other -translation-
> problem first. After -all day- compiling with different configurations,
> a few minutes ago I found the reason! (Why it is always the last one you
> look for?)
>
> loc =
Hi,
John Labenski wrote:
> On 6/26/07, Hakki Dogusan <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> John Labenski wrote:
>>> On 6/25/07, Hakki Dogusan <[EMAIL PROTECTED]> wrote:
Hi,
(xp,wx2.8.4,mingw)
- Current cvs gives internal compiler error for wx_bind.cpp at line 493
wi
On 6/26/07, Hakki Dogusan <[EMAIL PROTECTED]> wrote:
> Hi,
>
> John Labenski wrote:
> > On 6/25/07, Hakki Dogusan <[EMAIL PROTECTED]> wrote:
> >> Hi,
> >>
> >> (xp,wx2.8.4,mingw)
> >>
> >> - Current cvs gives internal compiler error for wx_bind.cpp at line 493
> >> with gcc-3.4.5. It compiles with
Hi,
John Labenski wrote:
> On 6/25/07, Hakki Dogusan <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> (xp,wx2.8.4,mingw)
>>
>> - Current cvs gives internal compiler error for wx_bind.cpp at line 493
>> with gcc-3.4.5. It compiles with un-official gcc-4.1.2.
>
> What is the code for this? I think the line
Hi,
John Labenski wrote:
> On 6/25/07, Hakki Dogusan <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> (xp,wx2.8.4,mingw)
>>
>> - Current cvs gives internal compiler error for wx_bind.cpp at line 493
>> with gcc-3.4.5. It compiles with un-official gcc-4.1.2.
>
> What is the code for this? I think the line
On 6/25/07, Hakki Dogusan <[EMAIL PROTECTED]> wrote:
> Hi,
>
> (xp,wx2.8.4,mingw)
>
> - Current cvs gives internal compiler error for wx_bind.cpp at line 493
> with gcc-3.4.5. It compiles with un-official gcc-4.1.2.
What is the code for this? I think the line numbers have changed as I
did some upd
Hi,
(xp,wx2.8.4,mingw)
- Current cvs gives internal compiler error for wx_bind.cpp at line 493
with gcc-3.4.5. It compiles with un-official gcc-4.1.2.
- I'm trying to use wxLocale but didn't succeded. Is something like as
following working for you?
require"wx"
loc = wx.wxLocale(wx.wxLANGUAGE
22 matches
Mail list logo