this is the first of the 2 bugs (?) I am facing while working on
AUI (the Python version of wxAUI). I am attaching a sample which
demonstrates the problem I have.
Basically, in the sample I have a wx.Notebook with 2 pages: the first
one is an enabled wx.Panel, the second one is a disabled wx.Panel. In
a timer set in the notebook, I use the following line of code:
and I print the value of "window". As you will notice, if you hover
over the enabled wx.Panel, the line prints correctly the wx.Panel
instance (__main__.DummyPanel), while if you hover over the disabled
wx.Panel, the line prints incorrectly the top wx.Frame, as if the
disabled panel didn't even exist.
Now, is it a bug? If not, shouldn't the documentation reflects that
wx.FindWindowAtPoint doesn't look for disbled windows?
Am 11.04.2009, 17:44 Uhr, schrieb Andrea Gavana <andrea.gavana@gmail.com>:
Hi All,
this is the first of the 2 bugs (?) I am facing while working on
AUI (the Python version of wxAUI). I am attaching a sample which
demonstrates the problem I have.
Basically, in the sample I have a wx.Notebook with 2 pages: the first
one is an enabled wx.Panel, the second one is a disabled wx.Panel. In
a timer set in the notebook, I use the following line of code:
and I print the value of "window". As you will notice, if you hover
over the enabled wx.Panel, the line prints correctly the wx.Panel
instance (__main__.DummyPanel), while if you hover over the disabled
wx.Panel, the line prints incorrectly the top wx.Frame, as if the
disabled panel didn't even exist.
Now, is it a bug? If not, shouldn't the documentation reflects that
wx.FindWindowAtPoint doesn't look for disbled windows?
Am 11.04.2009, 17:44 Uhr, schrieb Andrea Gavana <andrea.gavana@gmail.com>:
Hi All,
this is the first of the 2 bugs (?) I am facing while working on
AUI (the Python version of wxAUI). I am attaching a sample which
demonstrates the problem I have.
Basically, in the sample I have a wx.Notebook with 2 pages: the first
one is an enabled wx.Panel, the second one is a disabled wx.Panel. In
a timer set in the notebook, I use the following line of code:
and I print the value of "window". As you will notice, if you hover
over the enabled wx.Panel, the line prints correctly the wx.Panel
instance (__main__.DummyPanel), while if you hover over the disabled
wx.Panel, the line prints incorrectly the top wx.Frame, as if the
disabled panel didn't even exist.
Now, is it a bug? If not, shouldn't the documentation reflects that
wx.FindWindowAtPoint doesn't look for disbled windows?