bug in wxCreateHiddenWindow function

Vadim Zeitlin vadim at wxwidgets.org
Sat Aug 25 13:37:35 PDT 2007


On Sat, 25 Aug 2007 19:32:34 +0300 Eran Ifrah <eran.ifrah at gmail.com> wrote:

EI> I debugged it further, and it appears that gs_classForHiddenWindow has
EI> multiple instances:

 I think that this is the problem -- it basically means that you have
multiple copies of wx in your application. Granted, we probably can ignore
the RegisterClass() error and fix this particular problem but I'm quite
sure there are going to be others.

 And for RegisterClass() problem a better solution might be to use unique
class names (as MFC does I believe), e.g. by appending some UUID created
by each wx instance to them.

 Regards,
VZ
-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/






More information about the wx-users mailing list