kdeforche/wt — pull request #14 by tglander (2012-10-04 14:11:45+00:00)
Title: Enabled compilation in VS2008

Two fixes to get it back compiling:
* src\Wt/WWidget(933) : error C2487: 'WT_GETPS_JS' : member of dll
interface class may not be declared with dll interface
To fix it, I just put the two static variables to different lines:
static const char *WT_RESIZE_JS;
static const char *WT_GETPS_JS;

* src\web\ImageUtils.C(70) : error C2039: 'data' : is not a member of
* 'std::vector<_Ty>'
It appears the previous code was using the C++11 method data(). To preserve
backwards compatibility, changed it to &header[0]