wxFrame size bug
build fixes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -321,7 +321,7 @@ private:
|
||||
nodetype(wxListBase *list = (wxListBase *)NULL, \
|
||||
nodetype *previous = (nodetype *)NULL, \
|
||||
nodetype *next = (nodetype *)NULL, \
|
||||
T *data = NULL, \
|
||||
T *data = (T *)NULL, \
|
||||
const wxListKey& key = wxListKey()) \
|
||||
: wxNodeBase(list, previous, next, data, key) { } \
|
||||
\
|
||||
@@ -357,7 +357,7 @@ private:
|
||||
T *operator[](size_t index) const \
|
||||
{ \
|
||||
nodetype *node = Item(index); \
|
||||
return node ? node->GetData() : NULL; \
|
||||
return node ? (T*)(node->GetData()) : (T*)NULL; \
|
||||
} \
|
||||
\
|
||||
nodetype *Append(T *object) \
|
||||
|
Reference in New Issue
Block a user