diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2002-06-29 00:10:05 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2002-06-29 00:10:05 +0000 |
| commit | 2d30a9e6fa5f7a328c942fe7b0b68908339c9076 (patch) | |
| tree | 0727ed8801c736d52d6b8cf2ea7cb282af99f3ff /test | |
| parent | fb54e063066c11bfe8d4918bd68453c3b64a68db (diff) | |
Small changes to make Metrowerks CodeWarrior for Windows work.
See seperate posting with CodeWarrior project file.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2334 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test')
| -rw-r--r-- | test/demo.cxx | 6 | ||||
| -rw-r--r-- | test/editor.cxx | 8 | ||||
| -rwxr-xr-x | test/tile.cxx | 6 |
3 files changed, 10 insertions, 10 deletions
diff --git a/test/demo.cxx b/test/demo.cxx index 94739d16f..fa137a07e 100644 --- a/test/demo.cxx +++ b/test/demo.cxx @@ -1,5 +1,5 @@ // -// "$Id: demo.cxx,v 1.8.2.5.2.6 2002/03/25 21:08:42 easysw Exp $" +// "$Id: demo.cxx,v 1.8.2.5.2.7 2002/06/29 00:10:05 matthiaswm Exp $" // // Main demo program for the Fast Light Tool Kit (FLTK). // @@ -317,7 +317,7 @@ int main(int argc, char **argv) { create_the_forms(); char buf[256]; strcpy(buf, argv[0]); -#if defined _MSC_VER && defined _DEBUG +#if ( defined _MSC_VER || defined __MWERKS__ ) && defined _DEBUG // MS_VisualC appends a 'd' to debugging executables. remove it. fl_filename_setext( buf, "" ); buf[ strlen(buf)-1 ] = 0; @@ -340,6 +340,6 @@ int main(int argc, char **argv) { } // -// End of "$Id: demo.cxx,v 1.8.2.5.2.6 2002/03/25 21:08:42 easysw Exp $". +// End of "$Id: demo.cxx,v 1.8.2.5.2.7 2002/06/29 00:10:05 matthiaswm Exp $". // diff --git a/test/editor.cxx b/test/editor.cxx index eb4c057b3..0f9a151e3 100644 --- a/test/editor.cxx +++ b/test/editor.cxx @@ -1,5 +1,5 @@ // -// "$Id: editor.cxx,v 1.2.2.3.2.10 2002/06/10 21:04:20 easysw Exp $" +// "$Id: editor.cxx,v 1.2.2.3.2.11 2002/06/29 00:10:05 matthiaswm Exp $" // // A simple text editor program for the Fast Light Tool Kit (FLTK). // @@ -314,8 +314,8 @@ void style_update(int pos, // I - Position of update int nInserted, // I - Number of inserted chars int nDeleted, // I - Number of deleted chars - int nRestyled, // I - Number of restyled chars - const char *deletedText, // I - Text that was deleted + int /*nRestyled*/, // I - Number of restyled chars + const char * /*deletedText*/, // I - Text that was deleted void *cbArg) { // I - Callback data int start, // Start of text end; // End of text @@ -758,5 +758,5 @@ int main(int argc, char **argv) { } // -// End of "$Id: editor.cxx,v 1.2.2.3.2.10 2002/06/10 21:04:20 easysw Exp $". +// End of "$Id: editor.cxx,v 1.2.2.3.2.11 2002/06/29 00:10:05 matthiaswm Exp $". // diff --git a/test/tile.cxx b/test/tile.cxx index 51f46c78a..50ccf3d83 100755 --- a/test/tile.cxx +++ b/test/tile.cxx @@ -1,5 +1,5 @@ // -// "$Id: tile.cxx,v 1.4.2.3.2.1 2002/01/01 15:11:33 easysw Exp $" +// "$Id: tile.cxx,v 1.4.2.3.2.2 2002/06/29 00:10:05 matthiaswm Exp $" // // Tile test program for the Fast Light Tool Kit (FLTK). // @@ -40,7 +40,7 @@ int main(int argc, char** argv) { box0.align(FL_ALIGN_CLIP); Fl_Window w1(150,0,150,150,"1"); w1.box(FL_NO_BOX); - Fl_Box box1(0,0,150,150,"1\nThis is a\nchild\nX window"); + Fl_Box box1(0,0,150,150,"1\nThis is a\nchild\nwindow"); box1.box(FL_DOWN_BOX); box1.color(19); box1.labelsize(18); @@ -86,5 +86,5 @@ int main(int argc, char** argv) { } // -// End of "$Id: tile.cxx,v 1.4.2.3.2.1 2002/01/01 15:11:33 easysw Exp $". +// End of "$Id: tile.cxx,v 1.4.2.3.2.2 2002/06/29 00:10:05 matthiaswm Exp $". // |
