[wxPython-users] [wxPython-user] Is this a bug in TaskBarIcon?

甜瓜 littlesweetmelon at gmail.com
Thu Jan 24 17:36:59 PST 2008


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... @_@

---
ShenLei




More information about the wxpython-users mailing list