From: Václav Slavík Date: Wed, 30 May 2007 14:03:45 +0000 (+0000) Subject: fixed to the newly added crt.h header: X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/abde3283374fe28658fc1eeff74baa52818105a1 fixed to the newly added crt.h header: 1. include it in makefiles 2. add proper header and guards 3. include wxchar.h so that the things to include are maintained in just one place git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/Makefile.in b/Makefile.in index 0b9c1f83cd..227ff0f1ac 100644 --- a/Makefile.in +++ b/Makefile.in @@ -327,6 +327,7 @@ ALL_BASE_HEADERS = \ wx/convauto.h \ wx/containr.h \ wx/cpp.h \ + wx/crt.h \ wx/datetime.h \ wx/datstrm.h \ wx/dde.h \ @@ -469,6 +470,7 @@ ALL_PORTS_BASE_HEADERS = \ wx/convauto.h \ wx/containr.h \ wx/cpp.h \ + wx/crt.h \ wx/datetime.h \ wx/datstrm.h \ wx/dde.h \ diff --git a/build/bakefiles/files.bkl b/build/bakefiles/files.bkl index 25aa6006ec..cd79111735 100644 --- a/build/bakefiles/files.bkl +++ b/build/bakefiles/files.bkl @@ -406,6 +406,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file! wx/convauto.h wx/containr.h wx/cpp.h + wx/crt.h wx/datetime.h wx/datstrm.h wx/dde.h diff --git a/build/msw/wx_base.dsp b/build/msw/wx_base.dsp index f9c2ab45f8..6533bef574 100644 --- a/build/msw/wx_base.dsp +++ b/build/msw/wx_base.dsp @@ -1527,6 +1527,10 @@ SOURCE=..\..\include\wx\cpp.h # End Source File # Begin Source File +SOURCE=..\..\include\wx\crt.h +# End Source File +# Begin Source File + SOURCE=..\..\include\wx\datetime.h # End Source File # Begin Source File diff --git a/include/wx/crt.h b/include/wx/crt.h index ce0855d47d..f6996509b5 100644 --- a/include/wx/crt.h +++ b/include/wx/crt.h @@ -1,4 +1,16 @@ +////////////////////////////////////////////////////////////////////////////// +// Name: wx/crt.h +// Purpose: Header to include all headers with wrappers for CRT functions +// Author: Robert Roebling +// Created: 2007-05-30 +// RCS-ID: $Id$ +// Copyright: (c) 2007 wxWidgets dev team +// Licence: wxWindows licence +/////////////////////////////////////////////////////////////////////////////// +#ifndef _WX_CRT_H_ +#define _WX_CRT_H_ -#include "wx/wxcrtvararg.h" +#include "wx/wxchar.h" +#endif // _WX_CRT_H_ diff --git a/wxGTK.spec b/wxGTK.spec index 52f42edcc2..f0f1221e29 100644 --- a/wxGTK.spec +++ b/wxGTK.spec @@ -225,6 +225,7 @@ wx/config.h wx/convauto.h wx/containr.h wx/cpp.h +wx/crt.h wx/datetime.h wx/datstrm.h wx/dde.h diff --git a/wxMotif.spec b/wxMotif.spec index 95911bff91..14769bad18 100644 --- a/wxMotif.spec +++ b/wxMotif.spec @@ -128,6 +128,7 @@ wx/config.h wx/convauto.h wx/containr.h wx/cpp.h +wx/crt.h wx/datetime.h wx/datstrm.h wx/dde.h diff --git a/wxX11.spec b/wxX11.spec index f42d50ddc7..bb91e5b1ab 100644 --- a/wxX11.spec +++ b/wxX11.spec @@ -153,6 +153,7 @@ wx/config.h wx/convauto.h wx/containr.h wx/cpp.h +wx/crt.h wx/datetime.h wx/datstrm.h wx/dde.h