[wx-dev] Re: CVS: [RR] wxWindows/include/wx crt.h,NONE,1.1

Vadim Zeitlin vadim at wxwindows.org
Fri Jun 1 05:22:47 PDT 2007


On Wed, 30 May 2007 14:29:39 +0200 Vaclav Slavik <vslavik at fastmail.fm> wrote:

VS> Robert Roebling wrote:
VS> > As I wrote before, the user isn't supposed to include header
VS> > that begin with wx.
VS> 
VS> I never head about this rule before you mentioned it the first time, 
VS> we already had wxchar.h, wxhtml.h, wx.h and wxprec.h... But I guess 
VS> it's indeed better to use "crt" than "char" or "wxchar" in the name 
VS> of the header that is to be used for CRT wrappers, and wxcrt.h can't 
VS> be used for that purpose.

 Sorry, I don't quite understand how to interpret this? Why "wxcrt.h" can't
be used (when it is)?

 Anyhow, personally I'd also rather have wx/crt.h than wx/wxcrt.h if this
header is meant to be included directly by user code.

 Regards,
VZ





More information about the wx-dev mailing list