Templates

wxWindows does not use templates for two main reasons: one, it is a notoriously unportable feature, and two, the author is irrationally suspicious of them and prefers to use casts. More compilers are now implementing templates, and so it will probably be safe to use them soon without fear of portability problems.