]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_tglbtn.cpp
Backed-out PNG8 patch (no time to look at why
[wxWidgets.git] / src / xrc / xh_tglbtn.cpp
index 1e6219ca123a83959a10d35dc907606e5f57249a..1974ab14d1b8e60c2e43efe4037acaef11e4959d 100644 (file)
     #pragma hdrstop
 #endif
 
+#if wxUSE_XRC && wxUSE_TOGGLEBTN
+
 #include "wx/xrc/xh_tglbtn.h"
 #include "wx/tglbtn.h"
 
-#if wxUSE_TOGGLEBTN
-
 IMPLEMENT_DYNAMIC_CLASS(wxToggleButtonXmlHandler, wxXmlResourceHandler)
 
 wxToggleButtonXmlHandler::wxToggleButtonXmlHandler()
@@ -55,4 +55,4 @@ bool wxToggleButtonXmlHandler::CanHandle(wxXmlNode *node)
     return IsOfClass(node, wxT("wxToggleButton"));
 }
 
-#endif
+#endif // wxUSE_XRC && wxUSE_TOGGLEBTN