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:
parent
abb9859b89
commit
a4e8e7066d
38 changed files with 129 additions and 98 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue