Don't store wxCursor object on the heap in wxPropertyGrid

To simplify managing the life cycle of the object.
This commit is contained in:
Artur Wieczorek 2022-05-21 22:07:41 +02:00
parent 44bc305eb1
commit 5e417302c5
2 changed files with 4 additions and 10 deletions

View file

@ -1463,7 +1463,7 @@ protected:
wxBitmap *m_expandbmp, *m_collbmp;
#endif
wxCursor *m_cursorSizeWE;
wxCursor m_cursorSizeWE;
// wxWindow pointers to editor control(s).
wxWindow *m_wndEditor;