[Mathstudio-development] all/mathgui/samples/sample1 Sample.cpp,1.5
Status: Beta
Brought to you by:
frm
From: Francesco <fr...@us...> - 2005-01-06 13:29:51
|
Update of /cvsroot/mathstudio/all/mathgui/samples/sample1 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1638/mathgui/samples/sample1 Modified Files: Sample.cpp Log Message: Fixed compilation issues with MINGW Index: Sample.cpp =================================================================== RCS file: /cvsroot/mathstudio/all/mathgui/samples/sample1/Sample.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Sample.cpp 14 Dec 2004 20:37:38 -0000 1.4 --- Sample.cpp 6 Jan 2005 13:29:10 -0000 1.5 *************** *** 47,50 **** --- 47,52 ---- // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" + #include <mc/mcprec.h> // for MC + #include <mg/mgprec.h> // for MG #ifdef __BORLANDC__ *************** *** 56,66 **** #ifndef WX_PRECOMP #include "wx/wx.h" #endif - #include <mc/MathCore.h> // for MC - #include <mg/MathGUI.h> // for MG - #include <mg/MathBox.h> // for MG - - --- 58,65 ---- #ifndef WX_PRECOMP #include "wx/wx.h" + #include "mc/mc.h" + #include "mg/mg.h" #endif *************** *** 76,80 **** // first of all, decide if we can use the system... ! #if defined(__VISUALC__) && defined(__WXDEBUG__) #define mcDETECT_MEMORY_LEAKS #endif --- 75,79 ---- // first of all, decide if we can use the system... ! #if defined(__VISUALC__) && defined(__MGDEBUG__) #define mcDETECT_MEMORY_LEAKS #endif *************** *** 343,347 **** wxString msg; msg.Printf( _T("This is the About dialog of the MathGUI sample #1.\n") ! _T("Welcome to %s & MathGUI\n\n") // for MG _T("This small application demonstrate the basic steps\n") // for MG _T("required to embed the MathGUI library (and MathCore\n") // for MG --- 342,346 ---- wxString msg; msg.Printf( _T("This is the About dialog of the MathGUI sample #1.\n") ! _T("Welcome to %s & %s\n\n") // for MG _T("This small application demonstrate the basic steps\n") // for MG _T("required to embed the MathGUI library (and MathCore\n") // for MG *************** *** 353,357 **** _T("embed MathGUI which gives you an equation editor, a math\n")// for MG _T("engine and pre-built dialog boxes & menus..."), // for MG ! wxVERSION_STRING); // for MG wxMessageBox(msg, _T("About Minimal"), wxOK | wxICON_INFORMATION, this); --- 352,356 ---- _T("embed MathGUI which gives you an equation editor, a math\n")// for MG _T("engine and pre-built dialog boxes & menus..."), // for MG ! wxVERSION_STRING, mgVERSION_STRING); // for MG wxMessageBox(msg, _T("About Minimal"), wxOK | wxICON_INFORMATION, this); |