%{
-#include "helpers.h"
+#include "export.h"
#include <wx/calctrl.h>
%}
//---------------------------------------------------------------------------
+
+%init %{
+ wxClassInfo::CleanUpClasses();
+ wxClassInfo::InitializeClasses();
+%}
+
//---------------------------------------------------------------------------
%pragma(python) include="_calextras.py";