1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-26 15:23:48 +01:00

Some uses of wxWindowRef, a weak pointer that won't become dangling

This commit is contained in:
Paul Licameli
2018-08-01 22:41:13 -04:00
parent 703bf2b647
commit 0dddcf44cb
5 changed files with 6 additions and 14 deletions

View File

@@ -90,7 +90,7 @@ private:
ToolBar *mBar;
wxPoint mResizeOffset;
wxSize mOrigSize;
wxWindow *mOrigFocus{};
wxWindowRef mOrigFocus{};
DECLARE_EVENT_TABLE()
};