// get full hostname (with domain name if possible)
bool wxGetFullHostName(wxChar *buf, int maxSize)
{
-#ifndef __WXMICROWIN__
+#if !defined( __WXMICROWIN__) && wxUSE_DYNAMIC_LOADER
// TODO should use GetComputerNameEx() when available
// we don't want to always link with Winsock DLL as we might not use it at
#endif // Win32/16
}
-wxToolkitInfo *wxAppTraits::GetToolkitInfo()
+wxToolkitInfo& wxAppTraits::GetToolkitInfo()
{
// cache the version info, it's not going to change
//
info.versionMinor = s_minor;
info.os = s_ver;
info.name = _T("wxBase");
- return &info;
+ return info;
}
// ----------------------------------------------------------------------------