]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/stc/scintilla/include/ScintillaWidget.h
Update to Scintilla 1.48
[wxWidgets.git] / contrib / src / stc / scintilla / include / ScintillaWidget.h
index 6e22f58f8b6b3b19427950d43a7bd2a2cf036582..203f35733923a00babbf6d846cb1c1e5b4a67b63 100644 (file)
@@ -28,7 +28,7 @@ struct _ScintillaObject {
 };
 
 struct _ScintillaClass {
-       GtkFixedClass parent_class;
+       GtkContainerClass parent_class;
 
        void (* command) (ScintillaObject *ttt);
        void (* notify) (ScintillaObject *ttt);
@@ -39,6 +39,12 @@ GtkWidget*   scintilla_new           (void);
 void           scintilla_set_id        (ScintillaObject *sci,int id);
 sptr_t scintilla_send_message  (ScintillaObject *sci,unsigned int iMessage, uptr_t wParam, sptr_t lParam);
 
+#if GTK_MAJOR_VERSION < 2
+#define SCINTILLA_NOTIFY "notify"
+#else
+#define SCINTILLA_NOTIFY "sci-notify"
+#endif
+
 #ifdef __cplusplus
 }
 #endif