Replace all remaining occurrences of wxScopedPtr

Use std::unique_ptr<> in the library code instead of the legacy wx
class.
This commit is contained in:
Vadim Zeitlin 2023-03-06 23:53:13 +01:00
parent abb9859b89
commit a4e8e7066d
38 changed files with 129 additions and 98 deletions

View file

@ -10,7 +10,7 @@
#include "wx/qt/dc.h"
#include "wx/scopedptr.h"
#include <memory>
class QPicture;
@ -39,7 +39,7 @@ public:
~wxClientDCImpl();
private:
wxScopedPtr<QPicture> m_pict;
std::unique_ptr<QPicture> m_pict;
wxDECLARE_CLASS(wxClientDCImpl);
wxDECLARE_NO_COPY_CLASS(wxClientDCImpl);