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:
parent
defbeca1b8
commit
0d2c74c6ef
@ -18,11 +18,11 @@
|
||||
|
||||
#include "wx/mimetype.h"
|
||||
|
||||
#if (wxUSE_FILE && wxUSE_TEXTFILE)
|
||||
#if wxUSE_MIMETYPE
|
||||
|
||||
class wxMimeTypeCommands;
|
||||
|
||||
WX_DEFINE_ARRAY(wxMimeTypeCommands *, wxMimeCommandsArray);
|
||||
WX_DEFINE_ARRAY_PTR(wxMimeTypeCommands *, wxMimeCommandsArray);
|
||||
|
||||
// this is the real wxMimeTypesManager for Unix
|
||||
class WXDLLEXPORT wxMimeTypesManagerImpl
|
||||
@ -215,9 +215,8 @@ private:
|
||||
wxArrayInt m_index; // in the wxMimeTypesManagerImpl arrays
|
||||
};
|
||||
|
||||
#endif
|
||||
// wxUSE_FILE
|
||||
#endif // wxUSE_MIMETYPE
|
||||
|
||||
#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
|
||||
WX_DEFINE_ARRAY(wxThread *, wxArrayThread);
|
||||
WX_DEFINE_ARRAY_PTR(wxThread *, wxArrayThread);
|
||||
|
||||
// an entry for a thread we can wait for
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user