X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/db657fb29a439092ceb9a454c204161e5d491aa3..d11e8786ed13b72766eea18cb577cc00f9f08f41:/include/wx/wx.h?ds=sidebyside diff --git a/include/wx/wx.h b/include/wx/wx.h index ea22b3b1bf..062cc30a09 100644 --- a/include/wx/wx.h +++ b/include/wx/wx.h @@ -1,9 +1,6 @@ -#ifndef _WX_WXH__ -#define _WX_WXH__ - ///////////////////////////////////////////////////////////////////////////// -// Name: wx.h -// Purpose: wxWindows main include file +// Name: wx/wx.h +// Purpose: wxWidgets central header including the most often used ones // Author: Julian Smart // Modified by: // Created: 01/02/97 @@ -12,6 +9,9 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// +#ifndef _WX_WX_H_ +#define _WX_WX_H_ + #include "wx/defs.h" #include "wx/object.h" #include "wx/dynarray.h" @@ -77,7 +77,9 @@ #include "wx/choicdlg.h" #include "wx/textdlg.h" #include "wx/filedlg.h" -#include "wx/validate.h" // always include, even if !wxUSE_VALIDATORS + +// always include, even if !wxUSE_VALIDATORS because we need wxDefaultValidator +#include "wx/validate.h" #if wxUSE_VALIDATORS #include "wx/valtext.h" @@ -85,5 +87,5 @@ #endif // wxUSE_GUI -#endif - // _WX_WXH__ +#endif // _WX_WX_H_ +