/////////////////////////////////////////////////////////////////////////////
-// Name: wx/gtk1/tglbtn.cpp
+// Name: src/gtk1/tglbtn.cpp
// Purpose: Definition of the wxToggleButton class, which implements a
// toggle button under wxGTK.
// Author: John Norris, minor changes by Axel Schlueter
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
+#if wxUSE_TOGGLEBTN
+
#include "wx/tglbtn.h"
-#include "wx/button.h"
-#if wxUSE_TOGGLEBTN
+#ifndef WX_PRECOMP
+ #include "wx/button.h"
+#endif
#include "wx/gtk1/private.h"
}
#endif // wxUSE_TOGGLEBTN
-