]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/chkconf.h
disconnect "toggled" signal in dtor when style has wxALIGN_RIGHT
[wxWidgets.git] / include / wx / gtk / chkconf.h
index afd727fa3f9e631c72024914736a97a978bcc05e..9897ebd352ed7c8aff8f105078b7054c51e1f616 100644 (file)
 #endif
 
 #endif  /* __WINDOWS__ */
+
+#ifdef __WXGTK3__
+    #if !wxUSE_GRAPHICS_CONTEXT
+        #ifdef wxABORT_ON_CONFIG_ERROR
+            #error "GTK+ 3 support requires wxGraphicsContext"
+        #else
+            #undef wxUSE_GRAPHICS_CONTEXT
+            #define wxUSE_GRAPHICS_CONTEXT 1
+        #endif
+    #endif
+#endif