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:
Vadim Zeitlin 2002-05-14 12:28:07 +00:00
parent 5f4bffab21
commit 2e08b1a367
2 changed files with 6 additions and 2 deletions

View File

@ -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;

View File

@ -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;