added missing extern "C" required for Sun CC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
5f4bffab21
commit
2e08b1a367
@ -160,7 +160,9 @@ gtk_scrollbar_changed_callback( GtkWidget *WXUNUSED(widget), wxTextCtrl *win )
|
||||
|
||||
extern bool wxIsInsideYield;
|
||||
|
||||
typedef void (*GtkDrawCallback)(GtkWidget *widget, GdkRectangle *rect);
|
||||
extern "C" {
|
||||
typedef void (*GtkDrawCallback)(GtkWidget *widget, GdkRectangle *rect);
|
||||
}
|
||||
|
||||
static GtkDrawCallback gs_gtk_text_draw = NULL;
|
||||
|
||||
|
@ -160,7 +160,9 @@ gtk_scrollbar_changed_callback( GtkWidget *WXUNUSED(widget), wxTextCtrl *win )
|
||||
|
||||
extern bool wxIsInsideYield;
|
||||
|
||||
typedef void (*GtkDrawCallback)(GtkWidget *widget, GdkRectangle *rect);
|
||||
extern "C" {
|
||||
typedef void (*GtkDrawCallback)(GtkWidget *widget, GdkRectangle *rect);
|
||||
}
|
||||
|
||||
static GtkDrawCallback gs_gtk_text_draw = NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user