Disconnect all GTK signals referencing a wx object which is being destructed
or which is destroying the associated GTK object git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -139,9 +139,7 @@ void wxControl::GTKFixSensitivity(bool WXUNUSED_IN_GTK3(onlyIfUnderMouse))
|
||||
#endif
|
||||
)
|
||||
{
|
||||
wxPoint pt = wxGetMousePosition();
|
||||
wxRect rect(ClientToScreen(wxPoint(0, 0)), GetSize());
|
||||
if (!onlyIfUnderMouse || rect.Contains(pt))
|
||||
if (!onlyIfUnderMouse || GetScreenRect().Contains(wxGetMousePosition()))
|
||||
{
|
||||
Hide();
|
||||
Show();
|
||||
|
Reference in New Issue
Block a user