Dear Klaas,

I have try to do a wxSetEnv(wxT("WXART2D")) on my app startup code and
found it doesn't works, so I search the doc of wxWidgets and found the
reason.

The doc says:

wxGetenv

Note that under Win32 it may not return correct value for the
variables set with wxSetEnv, use wxGetEnv function instead.

And you use wxGetenv in this case, so you should change to use wxGetEnv.

And I think maybe use some kind of global init funtion to make this
kind of setting is better.

Br,
小小胡

2008/9/10 klaas.holwerda <[EMAIL PROTECTED]>:
> bluedee wrote:
>> Oh I see, so this is the reason why I have to set wxart2d environment
>> variables. :)
>>
> This is all behind it:
>
> http://wxart2d.org/moin/InternalVariables
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Wxart2d-users_dev mailing list
> Wxart2d-users_dev@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

Reply via email to