]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/wx.h
Source and warning cleaning after enabling wxUSE_DATAVIEWCTRL in wxMSW builds.
[wxWidgets.git] / include / wx / wx.h
index 4da515ebecffded5a46215856cde9b5fc23a0ce8..46af2cd1dd4d02a8f26ba89f6461a3bf960e0f18 100644 (file)
@@ -1,17 +1,17 @@
-#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
 // RCS-ID:      $Id$
-// Copyright:   (c)
+// Copyright:   (c) Julian Smart
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
+#ifndef _WX_WX_H_
+#define _WX_WX_H_
+
 #include "wx/defs.h"
 #include "wx/object.h"
 #include "wx/dynarray.h"
@@ -77,8 +77,9 @@
 #include "wx/choicdlg.h"
 #include "wx/textdlg.h"
 #include "wx/filedlg.h"
-#include "wx/treectrl.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"
@@ -86,5 +87,5 @@
 
 #endif // wxUSE_GUI
 
-#endif
-    // _WX_WXH__
+#endif // _WX_WX_H_
+