+// IRIX mipsPro refuses to compile wxStringCheck<func>() if func is inline so
+// let's work around this by using this non-template function instead of
+// wxStringCheck(). And while this might be fractionally less efficient because
+// the function call won't be inlined like this, we don't care enough about
+// this to add extra #ifs for non-IRIX case.
+namespace
+{
+
+bool CheckString(bool (*func)(const wxUniChar&), const wxString& str)
+{
+ for ( wxString::const_iterator i = str.begin(); i != str.end(); ++i )
+ {
+ if ( !func(*i) )
+ return false;
+ }
+
+ return true;
+}
+
+} // anonymous namespace
+