]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/valtext.h
Applied patch [ 619705 ] Fixes wxApp::GetComCtl32Version
[wxWidgets.git] / include / wx / valtext.h
index 42b08aa0bfd05a18c745461db2ff85031649970f..06a235ae54c3e2da79674bafdfe6e4445182931e 100644 (file)
@@ -18,7 +18,7 @@
 
 #include "wx/defs.h"
 
-#if wxUSE_VALIDATORS
+#if wxUSE_VALIDATORS && wxUSE_TEXTCTRL
 
 #include "wx/textctrl.h"
 #include "wx/validate.h"
@@ -106,7 +106,7 @@ private:
 };
 
 #endif
-  // wxUSE_VALIDATORS
+  // wxUSE_VALIDATORS && wxUSE_TEXTCTRL
 
 #endif
   // _WX_VALTEXTH__