dhtmlxWindows image path issues

I am using Professional version of dhtmlxSuite 2.5
When I use the control dhtmlxWindows, its loading windows with some relative path
e.g.
/myAPP/codebase/imgs/dhxwins_dhx_blue/active/icon_normal.gif
/myAPP/codebase/imgs/dhxwins_dhx_blue/inactive/icon_normal.gif

instead of
/myAPP/dhtmlxWindows/codebase/imgs/dhxwins_dhx_blue/active/icon_normal.gif
/myAPP/dhtmlxWindows/codebase/imgs/dhxwins_dhx_blue/inactive/icon_normal.gif

Please help.

The path to windows images can be set in the setImagePath method:

dhxWinds.setImagePath(“dhtmlxWindows/codebase/imgs/”);

I tried
dhxWinds.setImagePath(“dhtmlxWindows/codebase/imgs/”);
but didn’t solved the issue.

I modified function dhtmlXWindows() in dhtmlxwindows.js
I replace the follwing line of code
this.imagePath = dhtmlx.image_path||“codebase/imgs/”;
to
this.imagePath = dhtmlx.image_path||“dhtmlxWindows/codebase/imgs/”;

This worked for me although I am not sure if this is the proper way to fix.

Please check standard samples - the path is …/…/codebase/imgs/ and it is correctly set by setImage method:

dhtmlxWindows/samples/02_viewports/02_specify.html