AP_Win32Toolbar_Icons


Subject: AP_Win32Toolbar_Icons
From: Mike Nordell (tamlin@algonet.se)
Date: Sat Nov 11 2000 - 17:28:22 CST


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



This archive was generated by hypermail 2b25 : Sat Nov 11 2000 - 17:27:00 CST