summaryrefslogtreecommitdiff
path: root/x11-toolkits/wxgtk-devel/files/patch-contrib-src-plot-plot.cpp
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2003-11-04 20:51:32 +0000
committerMax Khon <fjoe@FreeBSD.org>2003-11-04 20:51:32 +0000
commit204da5ae4cbf51af640f1720ba76ae505ff80847 (patch)
treeaabe163b4c50735674cd2153bf94a335df44cc9d /x11-toolkits/wxgtk-devel/files/patch-contrib-src-plot-plot.cpp
parentUpgrade to Ganglia Web Frontend 2.5.4. PR ports/58658 (maintainer-update). (diff)
Add ports for wxgtk2 and wxgtk2-unicode (+contrib ports for both).
Add ports for wxgtk and wxgtk-contrib common files (includes, other data files). Allow different flavors of wxWindows library (gtk, gtk2, gtk2+unicode) to coexist. Patches to fix compiling -contrib in Unicode mode are taken from wxWindows CVS. wxgtk-devel is master port for all wxgtk ports (will be moved to wxgtk soon). wxgtk-common and wxgtk-contrib-common ports respectively. Assign maintainership of all wxgtk ports to myself for a while to catch errors on bento.
Diffstat (limited to 'x11-toolkits/wxgtk-devel/files/patch-contrib-src-plot-plot.cpp')
-rw-r--r--x11-toolkits/wxgtk-devel/files/patch-contrib-src-plot-plot.cpp38
1 files changed, 38 insertions, 0 deletions
diff --git a/x11-toolkits/wxgtk-devel/files/patch-contrib-src-plot-plot.cpp b/x11-toolkits/wxgtk-devel/files/patch-contrib-src-plot-plot.cpp
new file mode 100644
index 000000000000..ff6fc281b199
--- /dev/null
+++ b/x11-toolkits/wxgtk-devel/files/patch-contrib-src-plot-plot.cpp
@@ -0,0 +1,38 @@
+--- contrib/src/plot/plot.cpp.orig Wed Nov 5 00:03:37 2003
++++ contrib/src/plot/plot.cpp Wed Nov 5 00:04:27 2003
+@@ -204,7 +204,7 @@
+ END_EVENT_TABLE()
+
+ wxPlotArea::wxPlotArea( wxPlotWindow *parent )
+- : wxWindow( parent, -1, wxDefaultPosition, wxDefaultSize, wxSIMPLE_BORDER, "plotarea" )
++ : wxWindow( parent, -1, wxDefaultPosition, wxDefaultSize, wxSIMPLE_BORDER, _T("plotarea") )
+ {
+ m_owner = parent;
+
+@@ -462,7 +462,7 @@
+ END_EVENT_TABLE()
+
+ wxPlotXAxisArea::wxPlotXAxisArea( wxPlotWindow *parent )
+- : wxWindow( parent, -1, wxDefaultPosition, wxSize(-1,40), 0, "plotxaxisarea" )
++ : wxWindow( parent, -1, wxDefaultPosition, wxSize(-1,40), 0, _T("plotxaxisarea") )
+ {
+ m_owner = parent;
+
+@@ -589,7 +589,7 @@
+ END_EVENT_TABLE()
+
+ wxPlotYAxisArea::wxPlotYAxisArea( wxPlotWindow *parent )
+- : wxWindow( parent, -1, wxDefaultPosition, wxSize(60,-1), 0, "plotyaxisarea" )
++ : wxWindow( parent, -1, wxDefaultPosition, wxSize(60,-1), 0, _T("plotyaxisarea") )
+ {
+ m_owner = parent;
+
+@@ -713,7 +713,7 @@
+ END_EVENT_TABLE()
+
+ wxPlotWindow::wxPlotWindow( wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, int flag )
+- : wxScrolledWindow( parent, id, pos, size, flag, "plotcanvas" )
++ : wxScrolledWindow( parent, id, pos, size, flag, _T("plotcanvas") )
+ {
+ m_xUnitsPerValue = 1.0;
+ m_xZoom = 1.0;