]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/valtext.h
Notebook, Listbox, and Checklst updates
[wxWidgets.git] / include / wx / valtext.h
index 0d986f0270de6f712850f03e202638001710811d..cf15da9903600d7fcf9467f9799cd4f3701273d8 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_VALTEXTH__
 #define _WX_VALTEXTH__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "valtext.h"
 #endif
 
@@ -20,6 +20,7 @@
 
 #if wxUSE_VALIDATORS
 
+#include "wx/textctrl.h"
 #include "wx/validate.h"
 
 #define wxFILTER_NONE           0x0000