X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..af79064d318dc0858af706d0d1b4569e24a612c4:/include/wx/wx.h diff --git a/include/wx/wx.h b/include/wx/wx.h index e53cfcdddb..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" @@ -23,6 +23,7 @@ #include "wx/event.h" #include "wx/app.h" #include "wx/utils.h" +#include "wx/stream.h" #if wxUSE_GUI @@ -77,18 +78,14 @@ #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" #endif // wxUSE_VALIDATORS -#if wxUSE_SERIAL - #include "wx/objstrm.h" - #include "wx/serbase.h" -#endif // wxUSE_SERIAL - #endif // wxUSE_GUI -#endif - // _WX_WXH__ +#endif // _WX_WX_H_ +