Enable mouse tracking on construction of every wxQt widget

Not all controls use wxWindow::Create(), so move setMouseTracking() call
where it is always executed.

Closes https://github.com/wxWidgets/wxWidgets/pull/1528
This commit is contained in:
Matthew Griffin
2019-09-13 13:17:27 +01:00
committed by Vadim Zeitlin
parent 631ce0e380
commit 2c91463c81
2 changed files with 1 additions and 2 deletions

View File

@@ -61,6 +61,7 @@ public:
QObject::connect( this, &QObject::destroyed, this,
&wxQtEventSignalHandler::HandleDestroyedSignal );
Widget::setMouseTracking(true);
}
void HandleDestroyedSignal()