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:
committed by
Vadim Zeitlin
parent
631ce0e380
commit
2c91463c81
@@ -61,6 +61,7 @@ public:
|
||||
QObject::connect( this, &QObject::destroyed, this,
|
||||
&wxQtEventSignalHandler::HandleDestroyedSignal );
|
||||
|
||||
Widget::setMouseTracking(true);
|
||||
}
|
||||
|
||||
void HandleDestroyedSignal()
|
||||
|
Reference in New Issue
Block a user