Include wx/module.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: chm.cpp
|
||||
// Name: src/html/chm.cpp
|
||||
// Purpose: CHM (Help) support for wxHTML
|
||||
// Author: Markus Sinner
|
||||
// Copyright: (c) 2003 Herd Software Development
|
||||
@@ -10,7 +10,7 @@
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
#ifdef __BORLANDC__
|
||||
#pragma hdrstop
|
||||
#pragma hdrstop
|
||||
#endif
|
||||
|
||||
#if wxUSE_LIBMSPACK
|
||||
@@ -18,11 +18,11 @@
|
||||
#include <mspack.h>
|
||||
|
||||
#ifndef WXPRECOMP
|
||||
#include "wx/intl.h"
|
||||
#include "wx/log.h"
|
||||
#include "wx/intl.h"
|
||||
#include "wx/log.h"
|
||||
#include "wx/module.h"
|
||||
#endif
|
||||
|
||||
#include "wx/module.h"
|
||||
#include "wx/filesys.h"
|
||||
#include "wx/mstream.h"
|
||||
#include "wx/wfstream.h"
|
||||
@@ -637,7 +637,7 @@ wxChmInputStream::CreateHHPStream()
|
||||
wxUint32 lcid = wxUINT32_SWAP_ON_BE( dummy ) ;
|
||||
wxString msg ;
|
||||
msg.Printf(_T("Language=0x%X\r\n"),lcid) ;
|
||||
out->Write(msg.c_str() , msg.Length() ) ;
|
||||
out->Write(msg.c_str() , msg.length() ) ;
|
||||
}
|
||||
break ;
|
||||
default:
|
||||
@@ -673,7 +673,7 @@ wxChmInputStream::CreateHHPStream()
|
||||
tmp = "Index File=*.hhk\r\n";
|
||||
out->Write((const void *) tmp, strlen(tmp));
|
||||
}
|
||||
|
||||
|
||||
// Now copy the Data from the memory
|
||||
out->SeekO(0, wxFromEnd);
|
||||
m_size = out->TellO();
|
||||
|
||||
Reference in New Issue
Block a user