]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_chckl.cpp
Don't release capture unless we already have it.
[wxWidgets.git] / src / xrc / xh_chckl.cpp
index c9c9c45236403fc651b362fee9ae94cf2ec7c4a2..8ed6fef709096e4f11a208f0b9b392c03e6f4c34 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_chckl.h"
 #endif
 
@@ -19,7 +19,7 @@
     #pragma hdrstop
 #endif
 
-#if wxUSE_XML && wxUSE_XRC
+#if wxUSE_XRC
 
 #if wxUSE_OWNER_DRAWN || !defined(__WXMSW__)
 
@@ -133,4 +133,4 @@ bool wxCheckListBoxXmlHandler::CanHandle(wxXmlNode *node)
 
 #endif // wxUSE_OWNER_DRAWN || !defined(__WXMSW__)
 
-#endif // wxUSE_XML && wxUSE_XRC
+#endif // wxUSE_XRC