[wxPython-users] [wxPython-user] Is this a bug in TaskBarIcon?
Robin Dunn
robin at alldunn.com
Fri Jan 25 10:28:23 PST 2008
甜瓜 wrote:
> Thank you Robin! I learned a lot from you.
>
> Again for question 2, below is a section of continuous code in wxWidget:
> if (msg == gs_msgRestartTaskbar) // does the icon need to be redrawn?
> {
> m_iconAdded = false;
> SetIcon(m_icon, m_strTooltip);
> }
>
> // this function should only be called for gs_msg(Restart)Taskbar messages
> wxASSERT(msg == gs_msgTaskbar);
>
> I don't see a explicit return in if(...) { } statement... @_@
Looks like that was added a couple months ago.
http://svn.wxwidgets.org/viewvc/wx/wxWidgets/branches/WX_2_8_BRANCH/src/msw/taskbar.cpp?r1=47475&r2=50294
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list