Patch to wxChart/wxSmith ContribItems needs tested no idea if it runs.
Did two things changed "WXDLLIMPEXP_CHART class wxChartWindow" to "class WXDLLIMPEXP_CHART wxChartWindow" for sevaral classes. And, defined, WXMAKINGDLL_CHART.
By defining WXMAKINGDLL_CHART, WXDLLIMPEXP_CHART is defined as WXEXPORT. But, I think it was most likely being ignored before this patch, in which case defining WXDLLIMPEXP_CHART as an empty string might be correct. This would require editing chartdef.h.
Updated patch, forgot to save wxSmith ContribItems before creating.
Index: src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/chartwindow.h
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/chartwindow.h	(revision 4640)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/chartwindow.h	(working copy)
@@ -33,7 +33,7 @@
 //	INTERFACE:
 //
 //----------------------------------------------------------------------E-+++
-WXDLLIMPEXP_CHART class wxChartWindow : public wxWindow
+class WXDLLIMPEXP_CHART wxChartWindow : public wxWindow
 {
 public:
 
Index: src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/piechartpoints.h
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/piechartpoints.h	(revision 4640)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/piechartpoints.h	(working copy)
@@ -26,7 +26,7 @@
 //	INTERFACE:
 //
 //----------------------------------------------------------------------E-+++
-WXDLLIMPEXP_CHART class wxPieChartPoints : public wxChartPoints
+class WXDLLIMPEXP_CHART wxPieChartPoints : public wxChartPoints
 {
 public:
 
Index: src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/xaxis.h
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/xaxis.h	(revision 4640)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/xaxis.h	(working copy)
@@ -24,7 +24,7 @@
 //	INTERFACE:
 //
 //----------------------------------------------------------------------E-+++
-WXDLLIMPEXP_CHART class wxXAxis : public wxAxis
+class WXDLLIMPEXP_CHART wxXAxis : public wxAxis
 {
 
 public:
Index: src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/yaxis.h
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/yaxis.h	(revision 4640)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/yaxis.h	(working copy)
@@ -24,7 +24,7 @@
 //	INTERFACE:
 //
 //----------------------------------------------------------------------E-+++
-WXDLLIMPEXP_CHART class wxYAxis : public wxAxis
+class WXDLLIMPEXP_CHART wxYAxis : public wxAxis
 {
 
 public:
Index: src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/legend.h
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/legend.h	(revision 4640)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/legend.h	(working copy)
@@ -72,7 +72,7 @@
 //	INTERFACE:
 //
 //----------------------------------------------------------------------E-+++
-WXDLLIMPEXP_CHART class wxLegend
+class WXDLLIMPEXP_CHART wxLegend
 {
 public:
 
Index: src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/chartpoints.h
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/chartpoints.h	(revision 4640)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/chartpoints.h	(working copy)
@@ -39,7 +39,7 @@
 //	INTERFACE:
 //
 //----------------------------------------------------------------------E-+++
-WXDLLIMPEXP_CHART class wxChartPoints
+class WXDLLIMPEXP_CHART wxChartPoints
 {
 
 public:
Index: src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/chart.h
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/chart.h	(revision 4640)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/chart.h	(working copy)
@@ -40,7 +40,7 @@
 //	INTERFACE:
 //
 //----------------------------------------------------------------------E-+++
-WXDLLIMPEXP_CHART class wxChart
+class WXDLLIMPEXP_CHART wxChart
 {
 public:
 	wxChart();
Index: src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/axis.h
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/axis.h	(revision 4640)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/axis.h	(working copy)
@@ -23,7 +23,7 @@
 //	INTERFACE:
 //
 //----------------------------------------------------------------------E-+++
-WXDLLIMPEXP_CHART class wxAxis
+class WXDLLIMPEXP_CHART wxAxis
 {
 public:
 	wxAxis(ChartValue max = 0, ChartValue min = 0);
Index: src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/bar3dchartpoints.h
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/bar3dchartpoints.h	(revision 4640)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/bar3dchartpoints.h	(working copy)
@@ -26,7 +26,7 @@
 //  INTERFACE:
 //
 //----------------------------------------------------------------------E-+++
-WXDLLIMPEXP_CHART class wxBar3DChartPoints : public wxChartPoints
+class WXDLLIMPEXP_CHART wxBar3DChartPoints : public wxChartPoints
 {
 public:
 
Index: src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/points.h
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/points.h	(revision 4640)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/points.h	(working copy)
@@ -57,7 +57,7 @@
 //	INTERFACE:
 //
 //----------------------------------------------------------------------E-+++
-WXDLLIMPEXP_CHART class wxPoints
+class WXDLLIMPEXP_CHART wxPoints
 {
 public:
 	wxPoints();
Index: src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/label.h
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/label.h	(revision 4640)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/label.h	(working copy)
@@ -35,7 +35,7 @@
 //  INTERFACE:
 //
 //----------------------------------------------------------------------E-+++
-WXDLLIMPEXP_CHART class wxLabel
+class WXDLLIMPEXP_CHART wxLabel
 {
 public:
     void Draw(CHART_HPAINT hp, int x, int y, ChartColor c,
Index: src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/pie3dchartpoints.h
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/pie3dchartpoints.h	(revision 4640)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/pie3dchartpoints.h	(working copy)
@@ -26,7 +26,7 @@
 //	INTERFACE:
 //
 //----------------------------------------------------------------------E-+++
-WXDLLIMPEXP_CHART class wxPie3DChartPoints : public wxChartPoints
+class WXDLLIMPEXP_CHART wxPie3DChartPoints : public wxChartPoints
 {
 public:
 
Index: src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/chartpointstypes.h
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/chartpointstypes.h	(revision 4640)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/chartpointstypes.h	(working copy)
@@ -27,7 +27,7 @@
 //	INTERFACE:
 //
 //----------------------------------------------------------------------E-+++
-WXDLLIMPEXP_CHART class wxChartPointsTypes
+class WXDLLIMPEXP_CHART wxChartPointsTypes
 {
 private:
 	enum CHART_POINTS_TYPES
Index: src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/chartcolors.h
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/chartcolors.h	(revision 4640)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/chartcolors.h	(working copy)
@@ -54,7 +54,7 @@
 //	INTERFACE:
 //
 //----------------------------------------------------------------------E-+++
-WXDLLIMPEXP_CHART class wxChartColors
+class WXDLLIMPEXP_CHART wxChartColors
 {
 
 public:
Index: src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/barchartpoints.h
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/barchartpoints.h	(revision 4640)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/barchartpoints.h	(working copy)
@@ -26,7 +26,7 @@
 //	INTERFACE:
 //
 //----------------------------------------------------------------------E-+++
-WXDLLIMPEXP_CHART class wxBarChartPoints : public wxChartPoints
+class WXDLLIMPEXP_CHART wxBarChartPoints : public wxChartPoints
 {
 public:
 
Index: src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/xaxiswindow.h
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/xaxiswindow.h	(revision 4640)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/xaxiswindow.h	(working copy)
@@ -32,7 +32,7 @@
 //	INTERFACE:
 //
 //----------------------------------------------------------------------E-+++
-WXDLLIMPEXP_CHART class wxXAxisWindow : public wxWindow
+class WXDLLIMPEXP_CHART wxXAxisWindow : public wxWindow
 {
 public:
 	wxXAxisWindow() {};	// for IMPLEMENT_DYNAMIC_CLASS
Index: src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/yaxiswindow.h
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/yaxiswindow.h	(revision 4640)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/yaxiswindow.h	(working copy)
@@ -42,7 +42,7 @@
 //	INTERFACE:
 //
 //----------------------------------------------------------------------E-+++
-WXDLLIMPEXP_CHART class wxYAxisWindow : public wxWindow
+class WXDLLIMPEXP_CHART wxYAxisWindow : public wxWindow
 {
 public:
 	wxYAxisWindow() {};	// for IMPLEMENT_DYNAMIC_CLASS
Index: src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/legendwindow.h
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/legendwindow.h	(revision 4640)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/legendwindow.h	(working copy)
@@ -32,7 +32,7 @@
 //	INTERFACE:
 //
 //----------------------------------------------------------------------E-+++
-WXDLLIMPEXP_CHART class wxLegendWindow : public wxWindow
+class WXDLLIMPEXP_CHART wxLegendWindow : public wxWindow
 {
 public:
 	wxLegendWindow() {};	// for IMPLEMENT_DYNAMIC_CLASS
Index: src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/chartctrl.h
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/chartctrl.h	(revision 4640)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/chartctrl.h	(working copy)
@@ -48,7 +48,7 @@
 //	INTERFACE:
 //
 //----------------------------------------------------------------------E-+++
-WXDLLIMPEXP_CHART class wxChartCtrl : public wxScrolledWindow
+class WXDLLIMPEXP_CHART wxChartCtrl : public wxScrolledWindow
 {
 public:
 
Index: src/plugins/contrib/wxSmithContribItems/wxSmithContribItems.cbp
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxSmithContribItems.cbp	(revision 4640)
+++ src/plugins/contrib/wxSmithContribItems/wxSmithContribItems.cbp	(working copy)
@@ -41,6 +41,7 @@
 			<Add option="-DwxUSE_UNICODE" />
 			<Add option="-DWXMAKINGLIB_PROPGRID" />
 			<Add option="-DWXMAKINGDLL_THINGS" />
+			<Add option="-DWXMAKINGDLL_CHART" />
 			<Add directory="$(#cb)\include" />
 			<Add directory="$(#cb)\include\wxscintilla\include" />
 			<Add directory="$(#cb)\include\wxFlatNotebook\include" />