[wx-dev] Re: Configure switch for XTI

Mattia Barbon mattia.barbon at libero.it
Wed Apr 11 03:53:03 PDT 2007


On Tue, 10 Apr 2007 20:17:44 +0200
Francesco Montorsi <f18m_cpp217828 at yahoo.it> wrote:

> Vadim Zeitlin ha scritto:
> > On Mon, 9 Apr 2007 19:12:56 +0200 Mattia Barbon <mattia.barbon at libero.it> wrote:
> > 
> > MB> I wanted to add a configure switch to enable XTI
> > MB> compilation. 
> are you interested to XTI?

  I only wanted to play with it; for Perl the most interesting part is
discovering attributes and events.  Dynamically getting and setting
values is trivially done in Perl (and any dynamic language, I expect).

> Does it compile for you?

  Patch to that effect just committed.

> Last time I tried it required this patch:
> 
> http://sourceforge.net/tracker/index.php?func=detail&aid=1623801&group_id=9863&atid=309863
> 
> to compile.

  I only changed this related to IMPLEMENT_DYNAMIC_CLASS2.

Index: include/wx/xti.h
===================================================================
RCS file: /pack/cvsroots/wxwidgets/wxWidgets/include/wx/xti.h,v
retrieving revision 1.64
diff -u -2 -r1.64 xti.h
--- include/wx/xti.h	2007/04/02 05:33:37	1.64
+++ include/wx/xti.h	2007/04/11 09:05:42
@@ -2017,5 +2026,5 @@
     (wxObjectConstructorFn) wxConstructorFor##name   ,   \
     name::GetPropertiesStatic(),name::GetHandlersStatic(),name::ms_constructor , name::ms_constructorProperties ,     \
-    name::ms_constructorPropertiesCount , wxVariantToObjectConverter##name , wxObjectToVariantConverter##name);    \
+    name::ms_constructorPropertiesCount , wxVariantToObjectConverter##name , NULL, wxObjectToVariantConverter##name);    \
 
 #define IMPLEMENT_DYNAMIC_CLASS2( name , basename , basename2) \

  There were other fixes needed, in other areas.

Regards
Mattia




More information about the wx-dev mailing list