X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5c33522fca7cddc441a316f5b9fb50d7685435ba..05112735c29d896a101918aacd2224b54f6dd653:/include/wx/buffer.h diff --git a/include/wx/buffer.h b/include/wx/buffer.h index 231c8d185f..51214ee997 100644 --- a/include/wx/buffer.h +++ b/include/wx/buffer.h @@ -179,10 +179,10 @@ public: private: // reference-counted data - struct Data : wxPrivate::UntypedBufferData + struct Data : public wxPrivate::UntypedBufferData { Data(CharType *str, Kind kind = Owned) - : UntypedBufferData(str, kind) + : wxPrivate::UntypedBufferData(str, kind) { } @@ -357,7 +357,7 @@ private: // the reference count size_t m_ref; - DECLARE_NO_COPY_CLASS(wxMemoryBufferData) + wxDECLARE_NO_COPY_CLASS(wxMemoryBufferData); };