]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/validate.cpp
Pass length including the null-terminator to cWC2MB
[wxWidgets.git] / src / common / validate.cpp
index b41574d65c3c190819bf3100443eb6581b254083..787d99bd5f60c38d8627dbeb6287aa0ac90bbafc 100644 (file)
 
 #if wxUSE_VALIDATORS
 
+#include "wx/validate.h"
+
 #ifndef WX_PRECOMP
     #include "wx/window.h"
 #endif
 
-#include "wx/validate.h"
-
 const wxValidator wxDefaultValidator;
 
 IMPLEMENT_DYNAMIC_CLASS(wxValidator, wxEvtHandler)