Sunday 12 April 2009

So I'll use the basic code from wxRTC ...

... so that my component "should" be plugin compatible with wxRTC. The idea is that I could develop the program such that on the one hand I can use wxRTC if this correctly works, and if not I can use my own component.

The development will again stall while I develop this new component, but hopefully not too long.

The custom control should be source code compatible so that I can use a preprocessore directive to decide which I will be using.

#if _USERTC_
#define MyCtrl wxRichTextCtrl
#else
#define MyCtrl wxScreenplayCtrl
#endif

then I should be able to develop using (MyCtrl *) ... in my code.

Time will tell

No comments: