// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "utils.h"
#endif
if ( ! traits )
traits = &traitsConsole;
- wxToolkitInfo *info = traits->GetToolkitInfo();
+ wxToolkitInfo& info = traits->GetToolkitInfo();
if ( verMaj )
- *verMaj = info->versionMajor;
+ *verMaj = info.versionMajor;
if ( verMin )
- *verMin = info->versionMinor;
- return info->os;
+ *verMin = info.versionMinor;
+ return info.os;
}
// ----------------------------------------------------------------------------