Get rid of member variable declaration in wxWindowDC under wxQt

This is harmful because it hides the variable declared in the base class and
as a result, GetWindow() will always return nullptr.
This commit is contained in:
ali kettab 2023-11-22 21:19:36 +01:00
parent 14f6f82e46
commit 01959690cd

View file

@ -22,9 +22,6 @@ public:
~wxWindowDCImpl();
protected:
wxWindow *m_window;
private:
wxDECLARE_CLASS(wxWindowDCImpl);
wxDECLARE_NO_COPY_CLASS(wxWindowDCImpl);