From 168801da5e96eef0359d178c5bb2e9c83ed1da4e Mon Sep 17 00:00:00 2001 From: lbessard Date: Fri, 16 Nov 2007 16:41:59 +0000 Subject: [PATCH] Bugs that prevents to compile with wx2.8 fixed --- examples/DS401_Slave_Gui/main.cpp | 4 ++-- examples/DS401_Slave_Gui/main.h | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/DS401_Slave_Gui/main.cpp b/examples/DS401_Slave_Gui/main.cpp index 399b481..f1db941 100644 --- a/examples/DS401_Slave_Gui/main.cpp +++ b/examples/DS401_Slave_Gui/main.cpp @@ -696,8 +696,8 @@ void MyFrame::Paint() double q = 0; int i = 0; int j = 0; - wxColor col[8] = {wxColor("BLUE"), wxColor("RED"), wxColor("GREEN"), wxColor("GREY"), - wxColor("ORANGE"), wxColor("YELLOW"), wxColor("PINK"), wxColor("BLACK")}; + wxColor col[8] = {wxColor(wxT("BLUE")), wxColor(wxT("RED")), wxColor(wxT("GREEN")), wxColor(wxT("GREY")), + wxColor(wxT("ORANGE")), wxColor(wxT("YELLOW")), wxColor(wxT("PINK")), wxColor(wxT("BLACK"))}; hdelta = hmax - 0; g = (Gtime / hdelta) * 44.00; diff --git a/examples/DS401_Slave_Gui/main.h b/examples/DS401_Slave_Gui/main.h index d83e13b..af06428 100644 --- a/examples/DS401_Slave_Gui/main.h +++ b/examples/DS401_Slave_Gui/main.h @@ -8,6 +8,7 @@ #include #include #include +#include class MyApp : public wxApp { public: -- 2.39.2