Problem with v. simple example

Manuel Martín mmartin at ceyd.es
Wed Aug 29 12:01:20 PDT 2007


> I am using wxPython and I have a simple program which is generating a C/C++
> error message.
> 
> The python program is :
> from wx.glcanvas import GLCanvas
> 
> 04:15:07: Debug: ./src/common/object.cpp(244): assert
> "sm_classTable->Get(m_className) == NULL" failed in Register(): Class
> "wxSoundBackendSDLNotification" already in RTTI table - have you used
> IMPLEMENT_DYNAMIC_CLASS() multiple times or linked some object file twice)?
> ./src/common/object.cpp(244): assert "sm_classTable->Get(m_className) ==
> NULL" failed in Register(): Class "wxSoundBackendSDLNotification" already in
> RTTI table - have you used IMPLEMENT_DYNAMIC_CLASS() multiple times or
> linked some object file twice)?
> Trace/breakpoint trap

I don't use python, but the assert tells you:
You are defining twice the same class

HTH
Manolo





More information about the wx-users mailing list