Question about trunk sample includes, should <> be used instead of ""
Tim S
stahta01 at netzero.com
Sat Feb 2 05:35:12 PST 2008
I have an question about trunk sample code includes, should <> be used
instead of "" in the #include section like in case of below?
// For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
#endif
// For all others, include the necessary headers (this file is usually
all you
// need because it includes almost all "standard" wxWidgets headers
#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif
What I think it should be
#include <wx/wxprec.h>
#include <wx/wx.h>
I have an idea that replaces the include of wx/wx.h with a new header of
wx_forward.h an header that does forward declarations of wxWidgets
classes. And, I think it might be a good idea to change the quotes to
square brackets at the same time.
Tim S
More information about the wx-dev
mailing list