From 281b0186b81a35b3eff658635b083b04a3cfa23c Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sun, 19 Mar 2000 19:55:13 +0000 Subject: [PATCH] Misc small changes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/samples/ogl/ogledit/Makefile | 2 +- contrib/samples/ogl/studio/Makefile | 2 +- demos/forty/forty.cpp | 2 +- demos/forty/playerdg.cpp | 2 +- demos/life/life.cpp | 1 + distrib/msw/dialoged.rsp | 24 ++++++++++++++++++++++++ distrib/msw/generic.rsp | 15 ++++----------- distrib/msw/zipdist.bat | 7 +++++++ docs/html/news.htm | 2 +- docs/html/platform.htm | 22 +++++++++++++++++++--- docs/latex/wx/listctrl.tex | 1 + docs/latex/wx/panel.tex | 1 + docs/motif/issues.txt | 25 ++++++++++++++++++++++--- docs/readme.txt | 2 +- src/generic/splitter.cpp | 1 - utils/dialoged/src/reswrite.cpp | 2 +- 16 files changed, 86 insertions(+), 25 deletions(-) create mode 100644 distrib/msw/dialoged.rsp diff --git a/contrib/samples/ogl/ogledit/Makefile b/contrib/samples/ogl/ogledit/Makefile index 05f8941929..76d11a5ebb 100644 --- a/contrib/samples/ogl/ogledit/Makefile +++ b/contrib/samples/ogl/ogledit/Makefile @@ -16,7 +16,7 @@ CPP = gcc -g CC = gcc WXCONFIG=../../../../wx-config WXINCLUDE=-I../../../../include -I../../../include -WXLIB=-L../../../../lib -L../../../lib +WXLIB=-L../../../../lib -L../../../src/ogl OBJECTS=ogledit.o palette.o doc.o view.o diff --git a/contrib/samples/ogl/studio/Makefile b/contrib/samples/ogl/studio/Makefile index e94f1378c4..2070bc3b13 100644 --- a/contrib/samples/ogl/studio/Makefile +++ b/contrib/samples/ogl/studio/Makefile @@ -16,7 +16,7 @@ CPP = gcc -g CC = gcc WXCONFIG=../../../../wx-config WXINCLUDE=-I../../../../include -I../../../include -WXLIB=-L../../../../lib -L../../../lib +WXLIB=-L../../../../lib -L../../../src/ogl OBJECTS=studio.o cspalette.o csprint.o dialogs.o doc.o mainfrm.o project.o shapes.o symbols.o view.o diff --git a/demos/forty/forty.cpp b/demos/forty/forty.cpp index bfdb920f06..7d65694a9f 100644 --- a/demos/forty/forty.cpp +++ b/demos/forty/forty.cpp @@ -227,7 +227,7 @@ FortyFrame::About(wxCommandEvent&) "Forty Thieves\n\n" "A freeware program using the wxWindows\n" "portable C++ GUI toolkit.\n" - "http://web.ukonline.co.uk/julian.smart/wxwin\n" + "http://www.wxwindows.org\n" "http://www.freiburg.linux.de/~wxxt\n\n" "Author: Chris Breeze (c) 1992-1998\n" "email: chris.breeze@iname.com", diff --git a/demos/forty/playerdg.cpp b/demos/forty/playerdg.cpp index 0f646e2e32..67e11b68eb 100644 --- a/demos/forty/playerdg.cpp +++ b/demos/forty/playerdg.cpp @@ -116,7 +116,7 @@ PlayerSelectionDialog::PlayerSelectionDialog( list->SetConstraints(layout); wxString prevPlayer = m_scoreFile->GetPreviousPlayer(); - if (prevPlayer.Length() > 0) + if ((prevPlayer.Length() > 0) && (list->FindString(prevPlayer) != -1)) { list->SetStringSelection(prevPlayer); m_textField->SetValue(prevPlayer); diff --git a/demos/life/life.cpp b/demos/life/life.cpp index 9417376437..27d375cc3c 100644 --- a/demos/life/life.cpp +++ b/demos/life/life.cpp @@ -285,6 +285,7 @@ LifeFrame::LifeFrame() : wxFrame((wxFrame *)0, -1, _("Life!"), wxPoint(200, 200) sizer2->Add( m_text, 0, wxGROW | wxTOP, 4 ); sizer2->Add( slider, 0, wxCENTRE | wxALL, 4 ); + panel2->SetSizer( sizer2 ); panel2->SetAutoLayout( TRUE ); sizer2->Fit( panel2 ); diff --git a/distrib/msw/dialoged.rsp b/distrib/msw/dialoged.rsp new file mode 100644 index 0000000000..f8fbdf3935 --- /dev/null +++ b/distrib/msw/dialoged.rsp @@ -0,0 +1,24 @@ +utils/dialoged/Makefile.in +utils/dialoged/src/bitmaps/*.xbm +utils/dialoged/src/bitmaps/*.xpm +utils/dialoged/src/bitmaps/*.bmp +utils/dialoged/src/bitmaps/*.ico +utils/dialoged/src/*.h +utils/dialoged/src/*.cpp +utils/dialoged/src/*.def +utils/dialoged/src/*.rc +utils/dialoged/src/makefile* +utils/dialoged/src/*.xbm +utils/dialoged/src/*.xpm +utils/dialoged/src/*.txt +utils/dialoged/src/*.inf +utils/dialoged/src/*.ico +utils/dialoged/src/*.prj +utils/dialoged/src/*.bmp + +docs/html/dialoged/*.htm +docs/html/dialoged/*.gif +docs/winhelp/dialoged.hlp +docs/winhelp/dialoged.cnt +docs/pdf/dialoged.pdf + diff --git a/distrib/msw/generic.rsp b/distrib/msw/generic.rsp index 59f5bcf43c..cbb02e741f 100644 --- a/distrib/msw/generic.rsp +++ b/distrib/msw/generic.rsp @@ -153,6 +153,8 @@ utils/configure.in utils/dialoged/Makefile.in utils/dialoged/src/bitmaps/*.xbm utils/dialoged/src/bitmaps/*.xpm +utils/dialoged/src/bitmaps/*.bmp +utils/dialoged/src/bitmaps/*.ico utils/dialoged/src/*.h utils/dialoged/src/*.cpp utils/dialoged/src/*.def @@ -162,20 +164,9 @@ utils/dialoged/src/*.xbm utils/dialoged/src/*.xpm utils/dialoged/src/*.txt utils/dialoged/src/*.inf -utils/dialoged/test/*.h utils/dialoged/src/*.ico utils/dialoged/src/*.prj utils/dialoged/src/*.bmp -utils/dialoged/src/bitmaps/*.bmp -utils/dialoged/src/bitmaps/*.ico -utils/dialoged/test/*.cpp -utils/dialoged/test/*.def -utils/dialoged/test/*.rc -utils/dialoged/test/makefile* -utils/dialoged/lib/dummy -utils/dialoged/test/*.ico -utils/dialoged/test/*.prj -utils/dialoged/test/*.bmp utils/hhp2cached/*.h utils/hhp2cached/*.cpp @@ -258,6 +249,7 @@ samples/help/*.xbm samples/help/*.xpm samples/help/*.ico samples/help/*.bmp +samples/help/*.gif samples/help/*.rc samples/help/*.hlp samples/help/*.cnt @@ -599,6 +591,7 @@ samples/dnd/*.def samples/dnd/*.bmp samples/dnd/*.xbm samples/dnd/*.xpm +samples/dnd/*.png samples/dnd/*.ico samples/dnd/*.txt diff --git a/distrib/msw/zipdist.bat b/distrib/msw/zipdist.bat index 92aefdc64e..a135c695bf 100755 --- a/distrib/msw/zipdist.bat +++ b/distrib/msw/zipdist.bat @@ -26,6 +26,7 @@ erase %dest\ogl3.zip erase %dest\tex2rtf2.zip erase %dest\jpeg.zip erase %dest\tiff.zip +erase %dest\dialoged.zip if direxist %dest\wx deltree /Y %dest\wx @@ -79,6 +80,12 @@ zip32 -@ %dest\jpeg.zip < %src\distrib\msw\jpeg.rsp rem TIFF source zip32 -@ %dest\tiff.zip < %src\distrib\msw\tiff.rsp +rem Dialog Editor source and binary +erase %dest\dialoged_source.zip +zip32 -@ %dest\dialoged_source.zip < %src\distrib\msw\dialoged.rsp +zip32 -j %dest\dialoged.zip %dest\dialoged_source.zip %src\bin\dialoged.exe %src\bin\dialoged.hlp %src\bin\dialoged.cnt +erase %dest\dialoged_source.zip + copy %src\docs\changes.txt %dest copy %src\docs\msw\install.txt %dest\install_msw.txt copy %src\docs\motif\install.txt %dest\install_motif.txt diff --git a/docs/html/news.htm b/docs/html/news.htm index ed9a244fa1..83822071ff 100644 --- a/docs/html/news.htm +++ b/docs/html/news.htm @@ -23,7 +23,7 @@ News