use WX_DEFINE_ARRAY_PTR for anarray of pointers (fixes Sun CC warning)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -18,11 +18,11 @@
|
|||||||
|
|
||||||
#include "wx/mimetype.h"
|
#include "wx/mimetype.h"
|
||||||
|
|
||||||
#if (wxUSE_FILE && wxUSE_TEXTFILE)
|
#if wxUSE_MIMETYPE
|
||||||
|
|
||||||
class wxMimeTypeCommands;
|
class wxMimeTypeCommands;
|
||||||
|
|
||||||
WX_DEFINE_ARRAY(wxMimeTypeCommands *, wxMimeCommandsArray);
|
WX_DEFINE_ARRAY_PTR(wxMimeTypeCommands *, wxMimeCommandsArray);
|
||||||
|
|
||||||
// this is the real wxMimeTypesManager for Unix
|
// this is the real wxMimeTypesManager for Unix
|
||||||
class WXDLLEXPORT wxMimeTypesManagerImpl
|
class WXDLLEXPORT wxMimeTypesManagerImpl
|
||||||
@@ -215,9 +215,8 @@ private:
|
|||||||
wxArrayInt m_index; // in the wxMimeTypesManagerImpl arrays
|
wxArrayInt m_index; // in the wxMimeTypesManagerImpl arrays
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif // wxUSE_MIMETYPE
|
||||||
// wxUSE_FILE
|
|
||||||
|
#endif // _MIMETYPE_IMPL_H
|
||||||
|
|
||||||
#endif
|
|
||||||
//_MIMETYPE_IMPL_H
|
|
||||||
|
|
||||||
|
@@ -100,7 +100,7 @@ static void DeleteThread(wxThread *This);
|
|||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
// an (non owning) array of pointers to threads
|
// an (non owning) array of pointers to threads
|
||||||
WX_DEFINE_ARRAY(wxThread *, wxArrayThread);
|
WX_DEFINE_ARRAY_PTR(wxThread *, wxArrayThread);
|
||||||
|
|
||||||
// an entry for a thread we can wait for
|
// an entry for a thread we can wait for
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user