Only first character of button displayed in release version

Armel armelasselin at hotmail.com
Mon Nov 19 06:18:03 PST 2007



"Ondra Holub" <ondra.holub at post.cz> a écrit dans le message de news: 
db8639dc-51c3-44c7-bf17-762553c51ade at p69g2000hsa.googlegroups.com...
> Hello all.
>
> When I compile the same sources in release version, standard dialog
> buttons (OK, Cancel, Apply etc.) display only first character of their
> label. The same source in debug version displays labels correctly. Did
> anyone experience the same problem?
>
> Defines in Debug version:
> __WXMSW__
> __WXDEBUG__
> _UNICODE
> WXUSINGDLL
> USEPCH
>
> Defines in release version:
> __WXMSW__
> _UNICODE
> WXUSINGDLL
> USE_PCH
> NDEBUG
>
> Compiler mingw, wxWidgets 2.8.6, unicode

why du you use USEPCH in Debug and USE_PCH in Release? could it create 
problems? (or was it a typo in the mail.)

Armel








More information about the wx-users mailing list