// Created: 06/01/99
// RCS-ID: $Id$
// Copyright: (c) 1999 VZ
-// Licence: GPL
+// Licence: wxWindows Licence
/////////////////////////////////////////////////////////////////////////////
/*
#pragma hdrstop
#endif
+#if wxUSE_UNICODE
+ #error "HelpGen doesn't build in Unicode mode"
+#endif
+
#ifndef WX_PRECOMP
#include "wx/string.h"
#include "wx/log.h"
char *buf = new char[len + 1];
buf[len] = '\0';
- if ( file.Read(buf, len) == (size_t)wxInvalidOffset ) {
+ if ( file.Read(buf, len) == wxInvalidOffset ) {
delete [] buf;
return false;
char *buf = new char[len + 1];
buf[len] = '\0';
- if ( file.Read(buf, len) == (size_t)wxInvalidOffset ) {
+ if ( file.Read(buf, len) == wxInvalidOffset ) {
delete [] buf;
return false;
/*
$Log$
+ Revision 1.35 2004/12/12 11:03:31 VZ
+ give an error message if we're built in Unicode mode (in response to bug 1079224)
+
+ Revision 1.34 2004/11/23 09:53:31 JS
+ Changed GPL to wxWindows Licence
+
+ Revision 1.33 2004/11/12 03:30:07 RL
+
+ Cruft cleanup from MJW, strip the tabs out of sound.cpp
+
Revision 1.32 2004/11/10 21:02:58 VZ
new set of fixes for problems due to huge files support: drop wxFileSize_t, use wxFileOffset only, make wxInvalidOffset an int (main part of the patch 1063498)