working with html

Dear folks,
     I am writing an application with PYTHON and wxPYTHON. I am using
the wx.html module for my help system. I've encountered a curious
problem. I have written a function which displays an html page. When
called from a menu, the html page properly displays on top of the main
program window. When called from a button, using the same function,
the html page appears BEHIND the main program window. There are no
changes other than where the function is being called from.

Has anyone encountered this problem? Does anyone know how to fix it?

Please make a small runnable sample that demonstrates the problem. MakingSampleApps - wxPyWiki

···

On 11/19/09 1:36 PM, BP wrote:

Dear folks,
      I am writing an application with PYTHON and wxPYTHON. I am using
the wx.html module for my help system. I've encountered a curious
problem. I have written a function which displays an html page. When
called from a menu, the html page properly displays on top of the main
program window. When called from a button, using the same function,
the html page appears BEHIND the main program window. There are no
changes other than where the function is being called from.

Has anyone encountered this problem? Does anyone know how to fix it?

--
Robin Dunn
Software Craftsman