]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/validate.cpp
VTK wrapper of vtkRenderWindow for wxPython. Tested on MSW so far.
[wxWidgets.git] / src / common / validate.cpp
index 44e0caeeceb8adf77fb44313e5b66df57d1519aa..50d072c6b28c6ea975a717bdd48eac65f09e721e 100644 (file)
 
 #include "wx/validate.h"
 
+#if defined(__VISAGECPP__)
+// treated as a static global class by VA and thus cannot use in this form.
+// Defined as a pointer and then explicity allocated and deallocated
+// by user if desired
+const wxValidator* wxDefaultValidator = NULL;
+#else
 const wxValidator wxDefaultValidator;
+#endif
 
 #if !USE_SHARED_LIBRARY
     IMPLEMENT_DYNAMIC_CLASS(wxValidator, wxEvtHandler)