This fixes a MSVC compile error caused by a static scalar initialiser.

This commit is contained in:
Craig Southeren 2012-09-20 08:54:35 -05:00 committed by Dick Hollenbeck
parent 534c8a8944
commit 436c17f60b
2 changed files with 4 additions and 1 deletions

View File

@ -19,6 +19,9 @@ extern const double hvb_widths[256];
extern const double hvo_widths[256];
extern const double hvbo_widths[256];
const double PSLIKE_PLOTTER::postscriptTextAscent = 0.718;
// Common routines for Postscript-like plotting engines
void PSLIKE_PLOTTER::SetDefaultLineWidth( int width )

View File

@ -533,7 +533,7 @@ protected:
virtual void emitSetRGBColor( double r, double g, double b ) = 0;
/// Height of the postscript font (from the AFM)
static const double postscriptTextAscent = 0.718;
static const double postscriptTextAscent; // = 0.718;
int returnPostscriptTextWidth( const wxString& aText, int aXSize,
bool aItalic, bool aBold );