+#if defined(__VISAGECPP__)
+// have two versions of this in wxWindowDC tp avoid function hiding
+// since there are two of these in wxDCBase, and in turn in wxDC.
+// VA cannot resolve this so:
+ dc.GetTextExtent(message, &widthText, NULL, NULL, NULL, NULL);
+#else
+ dc.GetTextExtent(message, &widthText, (long*)NULL);
+#endif