Re: Python events, panel with text

2008-01-02 Thread SMALLp
SMALLp wrote: > Hy! > > I have many small panels with text and I want do bind wx.EVT_LEFT_DOWN > when clicked on panel, but i need to bind that in parent class. So I > have instance of that small panel and when i bind it efects only part of > small panel where is no text. > > > > import wx >

Python events, panel with text

2008-01-01 Thread SMALLp
Hy! I have many small panels with text and I want do bind wx.EVT_LEFT_DOWN when clicked on panel, but i need to bind that in parent class. So I have instance of that small panel and when i bind it efects only part of small panel where is no text. import wx class RequestedFilesItems(wx.Panel