This doesn't work. I still get:

Painter::thin_line' : only static const integral data members can be initialized
within a class

Using in Painter.h

static const float thin_line;

and set its value in GuiPainter.cpp to 0.5 works, but I get a lot of compiler 
errors like

InsetVSpace.obj : error LNK2001: unresolved external symbol "public: static float const lyx::frontend::Painter::thin_line" (?thin_l...@painter@front...@lyx@@2MB)

regards Uwe

Reply via email to