Hi Eric,

On Thu, 20 Mar 2008 08:28:11 +0900, Eric Kow <[EMAIL PROTECTED]> wrote:
> [Require --enable-unicode in wxWidgets.
> Eric Kow <[EMAIL PROTECTED]>**20080318084054] hunk ./configure 759
>  # wxWidgets
>  #--------------------------------------------------------------------
>  =
>
> +# confirm that we have unicode enabled
> +`$wxconfig --unicode=3Dyes`
> +if test "$?" =3D 0; then
> +  echo " wxWidgets Unicode support found"
> +else
> +  echo ""
> +  echo " I can't find the Unicode version of wxWidgets!"
> +  echo ""
> +  echo " Did you configure configure wxWidgets with --enable-unicode?"
> +  echo " If you have more than one copy, are you passing in the right"
> +  echo " version via --wx-config?"
> +  exit 1
> +fi

This cause the problem to use Visual Studio on Windows platform.
If we build wxWidgets (wxMSW) by Visual Studio, there is no wxconfig command.
And Windows binary's wxc dll links wxWidgets library statically. So, almost
Windows users don't meet unicode problem.


How about change that part like this?

if test "$wxtoolkit" /= "msw"; then
`$wxconfig --unicode=yes`
   if test "$?" = 0; then
     echo " wxWidgets Unicode support found"
   else
     echo ""
     echo " I can't find the Unicode version of wxWidgets!"
     echo ""
     echo " Did you configure configure wxWidgets with --enable-unicode?"
     echo " If you have more than one copy, are you passing in the right"
     echo " version via --wx-config?"
     exit 1
   fi
fi

Best Regards,

-- 
shelarcy <shelarcy    hotmail.co.jp>
http://page.freett.com/shelarcy/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel

Reply via email to