Make wxWindow::EnableTouchEvents() public in wxQt

It was wrongly (and probably accidentally) protected in this port.

Closes #23473.
This commit is contained in:
Vadim Zeitlin 2023-04-22 16:15:20 +02:00
parent 2f95afcc8c
commit a1f1b791d4

View file

@ -148,6 +148,8 @@ public:
virtual void SetAcceleratorTable( const wxAcceleratorTable& accel ) override;
#endif // wxUSE_ACCEL
virtual bool EnableTouchEvents(int eventsMask) override;
// wxQt implementation internals:
// Caller maintains ownership of pict - window will NOT delete it
@ -223,8 +225,6 @@ protected:
// itself.
virtual QWidget* QtGetParentWidget() const { return GetHandle(); }
virtual bool EnableTouchEvents(int eventsMask) override;
QWidget *m_qtWindow;
private: