]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/config/config.cpp
Ensure that detached menus don't keep focus grab in wxGTK.
[wxWidgets.git] / tests / config / config.cpp
index dad0dd2a4b521102db8046ebab213a55c661a6db..0abc18fb3c0622f6a7b577ee9b7c5ace16d0ae88 100644 (file)
@@ -18,6 +18,8 @@
 
 #include "testprec.h"
 
+#if wxUSE_CONFIG
+
 #ifdef __BORLANDC__
     #pragma hdrstop
 #endif
@@ -56,7 +58,7 @@ private:
 // register in the unnamed registry so that these tests are run by default
 CPPUNIT_TEST_SUITE_REGISTRATION( ConfigTestCase );
 
-// also include in it's own registry so that these tests can be run alone
+// also include in its own registry so that these tests can be run alone
 CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( ConfigTestCase, "ConfigTestCase" );
 
 void ConfigTestCase::ReadWriteLocalTest()
@@ -208,4 +210,4 @@ void ConfigTestCase::RecordingDefaultsTest()
     delete config;
 }
 
-
+#endif //wxUSE_CONFIG