Thank for try to help me
Thank to yours.
1.) I have now #include <wx.wwh>
2.) By the way I have fixed a missing ;
But:
The Problem are still there.
So I will give to yours the first Part of my Error-Message:
Code: Select all
In file included from /usr/include/wx-3.0/wx/strconv.h:17:0,
from /usr/include/wx-3.0/wx/strvararg.h:20,
from /usr/include/wx-3.0/wx/string.h:46,
from /usr/include/wx-3.0/wx/memory.h:15,
from /usr/include/wx-3.0/wx/object.h:19,
from /usr/include/wx-3.0/wx/wx.h:15,
from Data.cpp:5:
/usr/include/wx-3.0/wx/buffer.h:166:23: error: expected ‘)’ before ‘*’ token
Data(CharType *str, size_t len, Kind kind = Owned)
^
/usr/include/wx-3.0/wx/buffer.h:164:17: error: an anonymous struct cannot have function members
struct Data : public wxPrivate::UntypedBufferData
^
/usr/include/wx-3.0/wx/buffer.h:180:30: error: ISO C++ forbids declaration of ‘GetNullData’ with no type [-fpermissive]
static Data *GetNullData()
^
/usr/include/wx-3.0/wx/buffer.h:238:11: error: ISO C++ forbids declaration of ‘m_data’ with no type [-fpermissive]
Data *m_data;
^~~~~~
/usr/include/wx-3.0/wx/buffer.h: In static member function ‘static const wxScopedCharTypeBuffer<T> wxScopedCharTypeBuffer<T>::CreateNonOwned(const CharType*, size_t)’:
/usr/include/wx-3.0/wx/buffer.h:88:74: error: ‘::NonOwned’ has not been declared
buf.m_data = new Data(const_cast<CharType*>(str), len, Data::NonOwned);
^~~~~~~~
/usr/include/wx-3.0/wx/buffer.h:88:83: error: expected type-specifier before ‘;’ token
buf.m_data = new Data(const_cast<CharType*>(str), len, Data::NonOwned);
^
/usr/include/wx-3.0/wx/buffer.h: In static member function ‘static const wxScopedCharTypeBuffer<T> wxScopedCharTypeBuffer<T>::CreateOwned(wxScopedCharTypeBuffer<T>::CharType*, size_t)’:
/usr/include/wx-3.0/wx/buffer.h:103:44: error: expected type-specifier before ‘;’ token
buf.m_data = new Data(str, len);
So I will hope it's a way to understand me better