From: klaas.holwerda <kho...@xs...> - 2006-02-04 11:36:51
|
John Labenski wrote: > Any problems with getting rid of >the wxModule way and adding the C functions to put this initialization >problem behind us? > > I think yes, since i think the order of bindings also mattered somehow. I like the module aproach since it make ist possible to control the order of binding. My problems started with that remember? First soemthing of the base libraries needs to happen before calling bindings. I currently add this in the top of my main file. wxart2d_Binding dummy; We could make this a macro, something like USE_MODULE( wxart2d ). This does not have the problem of needed the functions. In principle any simple structure can be used ( one int ), as long as it comes from that library. Regards, Klaas |