The never initialized pointer used to call this class turned out to to not
even be needed.

There are six occurances of the string "m_pWin32ToolbarIcons" in AW. All of
these can go. Also, the method getBitmapForIcon should be static, and the
call to it from EV_Win32Toolbar::synthesize (ev_Win32Toolbar.cpp, around
line 571) should use static member function calling syntax (i.e.
AP_Win32Toolbar_Icons::getBitmapForIcon).

It's amazing how much fun stuff one finds when running Purify. :-)

/Mike -please don't cc




Reply via email to