#ifndef WX_PRECOMP
#include "wx/dialog.h"
#include "wx/dcclient.h"
+ #include "wx/intl.h"
#include "wx/settings.h"
+ #include "wx/stattext.h"
#endif
// ----------------------------------------------------------------------------
{
if ( *pc == _T('\n') || !*pc )
{
+#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(curLine, &width, &height, NULL, NULL, NULL, FALSE);
+#else
dc.GetTextExtent(curLine, &width, &height);
+#endif
if ( width > widthTextMax )
widthTextMax = width;
if ( height > heightTextMax )