#include "wx/dynarray.h"
#include "wx/string.h"
#include "wx/log.h"
+ #include "wx/utils.h"
+ #include "wx/module.h"
#endif
#include "wx/mac/corefoundation/cfstring.h"
-#include "wx/utils.h"
-#include "wx/module.h"
-
// ============================================================================
// implementation
// ============================================================================
CFStringRef cfsProduct = (CFStringRef)
CFDictionaryGetValue(pDictionary, CFSTR(kIOHIDProductKey));
m_szProductName =
- wxMacCFStringHolder( cfsProduct,
- false
+ wxCFStringRef( wxCFRetain(cfsProduct)
).AsString();
//Get the Product ID Key