diff --git a/include/wx/buffer.h b/include/wx/buffer.h index a0c2786ef4..7daf8a8e71 100644 --- a/include/wx/buffer.h +++ b/include/wx/buffer.h @@ -148,7 +148,7 @@ public: // wxCharTypeBuffer implicitly convertible to T* template -class wxWritableCharTypeBuffer : wxCharTypeBuffer +class wxWritableCharTypeBuffer : public wxCharTypeBuffer { public: typedef typename wxCharTypeBuffer::CharType CharType;