[litwindow-users] Re: ADAPTER function declarations
Status: Alpha
Brought to you by:
hajokirchhoff
From: Hajo K. <mai...@ha...> - 2005-04-18 09:03:20
|
Hi > I notice that PROP_R_FUNC is commented out, which also breaks PROP_Get. I > also have had problems getting PROP_Set or PROP_W_FUNC to compile without > errors. What are the plans with these? these will become read-only or write-only adapters eventually. When I get around to fixing them. Currently, if you want to have a read only property you still have to write a Set method which is nonsense of course. > Are there any other PROP_* macros that are used in user ADAPTER > declarations? PROP(member) for member variables PROP_I(inherited) for inheritance PROP_CSTR(char*) for char* member variables although using wxString and string is really preferred. I included PROP_CSTR(nnn) only for my current odbc work to be able to bind to a VARCHAR column of a database using adapters. and for really advanced use: PROP_CO(coobject) for co-objects Regards Hajo |