X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9e730a78765d0e70ca5b77512569c94585070fe2..f5766910b6731eb03e82371416e9778203396ce7:/contrib/src/stc/scintilla/include/ScintillaWidget.h?ds=inline diff --git a/contrib/src/stc/scintilla/include/ScintillaWidget.h b/contrib/src/stc/scintilla/include/ScintillaWidget.h index 765fd8594d..9d23ce2a91 100644 --- a/contrib/src/stc/scintilla/include/ScintillaWidget.h +++ b/contrib/src/stc/scintilla/include/ScintillaWidget.h @@ -34,9 +34,13 @@ struct _ScintillaClass { void (* notify) (ScintillaObject *ttt); }; -guint scintilla_get_type (void); +#if GLIB_MAJOR_VERSION < 2 +GtkType scintilla_get_type (void); +#else +GType scintilla_get_type (void); +#endif GtkWidget* scintilla_new (void); -void scintilla_set_id (ScintillaObject *sci,int id); +void scintilla_set_id (ScintillaObject *sci, uptr_t id); sptr_t scintilla_send_message (ScintillaObject *sci,unsigned int iMessage, uptr_t wParam, sptr_t lParam); void scintilla_release_resources(void);