+void IntlTestCase::IsAvailable()
+{
+ const wxString origLocale(setlocale(LC_ALL, NULL));
+
+ // Calling IsAvailable() shouldn't change the locale.
+ wxLocale::IsAvailable(wxLANGUAGE_ENGLISH);
+
+ CPPUNIT_ASSERT_EQUAL( origLocale, setlocale(LC_ALL, NULL) );
+}
+