Subject: | Compiling with Wx version 0.74 |
Current source will not compile on Win32 with current Wx version.
In DialUpManager.xs the GetISPNames function needs to be:
void
wxDialUpManager::GetISPNames()
PREINIT:
wxArrayString names;
int i, max;
PPCODE:
THIS->GetISPNames(names);
max = names.GetCount();
EXTEND( SP, max );
for( i = 0; i < max; ++i ) {
#if wxUSE_UNICODE
SV* tmp = sv_2mortal( newSVpv( names[i].mb_str(wxConvUTF8), 0 ) );
SvUTF8_on( tmp );
PUSHs( tmp );
#else
PUSHs( sv_2mortal( newSVpv( CHAR_P names[i].c_str(), 0 ) ) );
#endif
}
#endif