]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/tglbtn.cpp
fixed a big memory leak in DoDrawBitmap() (coverity checker CID 57)
[wxWidgets.git] / src / gtk / tglbtn.cpp
index c18160f778257b48cbb326dff6d5a38e8100d217..722d7f965901ea3350caf6b586176c60ac03d258 100644 (file)
 
 #if wxUSE_TOGGLEBTN
 
+// FIXME: Use GtkImage instead of GtkPixmap.
+#include <gtk/gtkversion.h>
+#ifdef GTK_DISABLE_DEPRECATED
+#undef GTK_DISABLE_DEPRECATED
+#endif
+
 #include "wx/gtk/private.h"
 
 extern void wxapp_install_idle_handler();