]> git.saurik.com Git - wxWidgets.git/commitdiff
Distrib file updates; test for bitmap presence in controls.cpp
authorJulian Smart <julian@anthemion.co.uk>
Sat, 12 Feb 2000 10:44:03 +0000 (10:44 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sat, 12 Feb 2000 10:44:03 +0000 (10:44 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

distrib/msw/generic.rsp
distrib/msw/makefile.rsp
distrib/msw/wisetop.txt
distrib/msw/zipdist.bat
docs/changes.txt
docs/motif/install.txt
docs/readme.txt
docs/release.txt
samples/controls/controls.cpp
src/msw/dialog.cpp
utils/projgen/makeproj.cpp

index 42fbb6b6c9b4105073baae233f3d9d365d526819..b9c4079b6640666e8716b074cf013b4ebded259a 100644 (file)
@@ -332,15 +332,6 @@ samples/help/doc/*.tex
 samples/help/doc/*.gif
 samples/help/doc/*.map
 
-samples/ipc/*.cpp
-samples/ipc/*.h
-samples/ipc/*.def
-samples/ipc/makefile*
-samples/ipc/*.xbm
-samples/ipc/*.xpm
-samples/ipc/*.ico
-samples/ipc/*.rc
-
 samples/typetest/*.cpp
 samples/typetest/*.h
 samples/typetest/*.def
@@ -426,6 +417,16 @@ samples/proplist/*.ico
 samples/proplist/*.bmp
 samples/proplist/*.rc
 
+samples/propsize/*.cpp
+samples/propsize/*.h
+samples/propsize/*.def
+samples/propsize/makefile*
+samples/propsize/*.xbm
+samples/propsize/*.xpm
+samples/propsize/*.ico
+samples/propsize/*.bmp
+samples/propsize/*.rc
+
 samples/layout/*.cpp
 samples/layout/*.h
 samples/layout/*.def
@@ -1007,9 +1008,19 @@ samples/exec/*.ico
 samples/exec/*.xpm
 samples/exec/*.txt
 
-samples/makefile*
-samples/configure
-samples/configure.in
+samples/rotate/*.cpp
+samples/rotate/*.h
+samples/rotate/makefile*
+samples/rotate/*.rc
+samples/rotate/*.def
+samples/rotate/*.ico
+samples/rotate/*.xpm
+samples/rotate/*.txt
+samples/rotate/*.bmp
+
+demos/makefile*
+demos/configure
+demos/configure.in
 
 demos/bombs/*.cpp
 demos/bombs/*.h
index 56a59cfd9a0191b0cac3d3ffd7c8d15c73e81df7..c8abfe9f2d67c40426ec009f58b56271bca4387c 100644 (file)
@@ -2,9 +2,11 @@ Makefile.in
 src/Makefile
 locale/Makefile
 samples/Makefile.in
+samples/calendar/Makefile.in
 samples/caret/Makefile.in
 samples/checklst/Makefile.in
 samples/config/Makefile.in
+samples/console/Makefile.in
 samples/controls/Makefile.in
 samples/db/Makefile.in
 samples/dialogs/Makefile.in
@@ -13,6 +15,7 @@ samples/docview/Makefile.in
 samples/docvwmdi/Makefile.in
 samples/drawing/Makefile.in
 samples/dynamic/Makefile.in
+samples/exec/Makefile.in
 samples/genvalid/Makefile.in
 samples/html/Makefile.in
 samples/html/about/Makefile.in
@@ -31,6 +34,8 @@ samples/minimal/Makefile.in
 samples/notebook/Makefile.in
 samples/printing/Makefile.in
 samples/proplist/Makefile.in
+samples/propsize/Makefile.in
+samples/rotate/Makefile.in
 samples/sashtest/Makefile.in
 samples/scroll/Makefile.in
 samples/scrollsub/Makefile.in
@@ -46,9 +51,6 @@ samples/socket/Makefile.in
 samples/dialup/Makefile.in
 samples/font/Makefile.in
 samples/menu/Makefile.in
-samples/console/Makefile.in
-samples/calendar/Makefile.in
-samples/exec/Makefile.in
 demos/bombs/Makefile.in
 demos/forty/Makefile.in
 demos/fractal/Makefile.in
index 0332990c1024241fba061b84c440122dfc51d1dd..a12589435058306d9bc5b9a8b3330415d4aabc0e 100644 (file)
@@ -1,7 +1,7 @@
 Document Type: WSE
 item: Global
   Version=5.0
-  Title=wxWindows 2.1.12 Installation
+  Title=wxWindows 2.1.13 Installation
   Flags=00000100
   Split=1420
   Languages=65 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
@@ -47,7 +47,7 @@ item: End Block
 end
 item: Set Variable
   Variable=APPTITLE
-  Value=wxWindows 2.1.12
+  Value=wxWindows 2.1.13
 end
 item: Set Variable
   Variable=GROUP
index 1f50693eed535ce73dbc1147cd47eccf5cc50fb4..48878c01767ce252169160d553f5ddd0ac9454d7 100755 (executable)
@@ -5,7 +5,7 @@ set dest=%src\deliver
 set wise=0
 
 Rem Set this to the required version
-set version=2_1_12
+set version=2_1_13
 
 if "%src" == "" goto usage
 if "%dest" == "" goto usage
@@ -42,7 +42,7 @@ zip32 -@ -u %dest\wx%version%_gtk.zip < %src\distrib\msw\makefile.rsp
 zip32 -@ %dest\wx%version%_stubs.zip < %src\distrib\msw\stubs.rsp
 zip32 -@ %dest\wx%version%_mot.zip < %src\distrib\msw\motif.rsp
 zip32 -@ -u %dest\wx%version%_mot.zip < %src\distrib\msw\makefile.rsp
-zip32 -@ %dest\wx%version%_user.zip < %src\distrib\msw\user.rsp
+Rem (Obsolete) zip32 -@ %dest\wx%version%_user.zip < %src\distrib\msw\user.rsp
 
 zip32 -@ %dest\wx%version%_doc.zip < %src\distrib\msw\docsrc.rsp
 zip32 -@ %dest\wx%version%_hlp.zip < %src\distrib\msw\wx_hlp.rsp
index 3c355e746c18155fc7b77633ffaf812bafe6cfdf..cae98ae030cc39b8ce8ae4b03ae5bc15af47fedf 100644 (file)
@@ -1,22 +1,18 @@
 wxWindows 2 Change Log
 ----------------------
 
-next release (2.1.12 or 2.2?)
------------------------------
+2.1.14
+------
 
 wxBase:
 
 - wxDateTime replaces and extends old wxDate and wxTime classes (still
   available but strongly deprecated) with many new features
-
 - wxLongLong class provides support for (signed) 64 bit integers
-
 - wxCmdLineParser class for parsing the command line (supporting short and
   long options, switches and parameters of different types)
-
 - it is now possible to build wxBase under Win32 (using VC++ only so far)
   and BeOS (without thread support yet)
-
 - wxThread class modified to support both detached and joinable threads, also
   added new GetCPUCount() and SetConcurrency() functions (useful under Solaris
   only so far)
@@ -27,37 +23,34 @@ wxBase:
 - wxString::ToLong, ToULong, ToDouble methods and Format() static one added
 - buffer overflows in wxString and wxLog classes fixed (if snprintf() function
   is available)
-- wxArray::RemoveAt() replaces deprectaed wxArray::Remove(index)
+- wxArray::RemoveAt() replaces deprecated wxArray::Remove(index)
 
 all (GUI):
 
+- Added wxImage::Rotate.
 - new wxCalendarCtrl class for picking a date interactively
-
 - wxMenu(Bar)::Insert() and Remove() functions for dynamic menu menagament
 - wxToolBar supports arbitrary controls (not only buttons) and can be
   dynamically changed (Delete/Insert functions)
 - vertical toolbars supported by MSW and GTK native wxToolBar classes
-
 - wxTreeCtrl and wxListCtrl allow setting colour/fonts for individual items
 - "file open" dialog allows selecting multiple files at once (contributed by
   John Norris)
 - wxMimeTypesManager uses GNOME/KDE MIME database to get the icons for the
   MIME types if available (Unix only)
 - wxDC::DrawRotatedText() (based on contribution by Hans-Joachim Baader)
-
 - TIFF support added (libtiff required and included in the distribution)
 - PCX files can now be written (24 bit only so far)
-
 - validators may work recursively if wxWS_EX_VALIDATE_RECURSIVELY is set
 - wxScrolledWindow now has keyboard interface
 - wxTextEntryDialog may be used for entering passwords (supports wxTE_PASSWORD)
-
 - added wxEncodingConverter and improved wxFontMapper
   for dealing with convertions between different encodings,
   charsets support in wxLocale and wxHTML
 
 wxMSW:
 
+- wxFrame::MakeFullScreen added.
 - support for enhanced metafiles added, support for copying/pasting metafiles
   (WMF and enhanced ones) fixed/added.
 - implemented setting colours for push buttons
@@ -99,8 +92,6 @@ wxHTML:
 NOTE: for changes after wxWindows 2.1.0 b4, please see the CVS
 change log.
 
-Major improvements are listed in readme.txt.
-
 2.1.0, b4, May 9th 1999
 -----------------------
 
index f1269cfc7c1e3e8aaa76b33d4eeabea35e77e3b5..9d5feda8f1b2e291a6b3f6fe7efa73fc5ff96e9d 100644 (file)
@@ -180,6 +180,49 @@ exit
 NB: DO NOT COMPILE WXGTK WITH GCC AND THREADS, SINCE ALL PROGRAMS WILL
 CRASH UPON START-UP! Just always use egcs and be happy.
 
+* Building wxGTK on OS/2
+--------------------------
+
+Please send comments and question about the OS/2 installation
+to Andrea Venturoli <a.ventu@flashnet.it> and patches to
+the wxWindows mailing list.
+
+You'll need OS/2 Warp (4.00FP#6), X-Free86/2 (3.3.3 or newer), 
+Lesstif (0.89.1 or newer), emx (0.9d fix 1), flex (2.5.4),
+yacc (1.8), unix like shell, e.g. korn shell (5.2.13),
+Autoconf (2.13),  GNU file utilities (3.6),
+GNU text utilities (1.3), GNU shell utilites (1.12), m4 (1.4), 
+sed (2.05), grep (2.0), Awk (3.0.3), GNU Make (3.76.1).
+
+Open an OS/2 prompt and switch to the directory above.
+First set some global environment variables we need:
+
+SET CXXFLAGS=-Zmtd -D__ST_MT_ERRNO__
+SET CFLAGS=-Zmtd -D__ST_MT_ERRNO__
+SET OSTYPE=OS2X              
+SET COMSPEC=sh
+
+Notice you can choose whatever you want, if you don't like OS2X.
+
+Now, run autoconf in the main directory and in the samples, demos
+and utils subdirectory. This will generate the OS/2 specific
+versions of the configure scripts. Now run
+    configure --with-motif
+as described above.
+
+To verify Lesstif installation, configure will try to compile a
+sample program that requires X headers/libraries to be either
+available via C_INCLUDE_PATH and LIBRARY_PATH or you need to
+explicitly set CFLAGS prior to running configure.
+
+If you have pthreads library installed, it will be autodetected
+and the library will be compiled with thread-support.
+
+Note that configure assumes your flex will generate files named
+"lexyy.c", not "lex.yy.c". If you have a version which does
+generate "lex.yy.c", you need to manually change the generated
+makefile.
+
 * Building wxMotif on SGI
 --------------------------
 
@@ -315,7 +358,7 @@ are
        
        --without-libjpeg       Disables JPEG image format code.
        
-       --without-odbc          Disables ODBC code.
+{      --without-odbc          Disables ODBC code. Not yet. }
        
         --disable-resources     Disables the use of *.wxr type
                                resources.
index 9562855457f0a1092c95a7189717978a046042a0..b2dbdf19e8b0d0bd56f19c2fba0b244aeca47d17 100644 (file)
@@ -1,4 +1,4 @@
-wxWindows 2.1.12
+wxWindows 2.1.13
 ----------------
 
 Welcome to wxWindows 2, a sophisticated cross-platform C++
@@ -21,46 +21,7 @@ important documents and samples.
 Changes in this release
 -----------------------
 
-These are some of the major improvements:
-
-wxWindows 2.1.12
-================
-
-- New wxDateTime class to replace millenium-uncompliant wxTime
-  and wxDate classes.
-- New wxCalendarCtrl class and sample.
-- New wxCmdLineParser class.
-- Further bug fixes.
-- TIFF support added to wxImage.
-
-wxWindows 2.1.11
-================
-
-- Numerous bug fixes and consistency improvements.
-- Further samples.
-- Factoring out of some code into base classes, for easier
-  maintenance.
-- Ability to compile library in console (non-GUI) mode.
-- Integration of wxHTML widget and help controller into
-  wxWindows. wxHTML allows HTML viewing and printing (wxGTK
-  and wxMSW, partial support in wxMotif).
-- New classes wxChrono, wxDialUpManager, wxFontEnumerator,
-  wxWizard, wxStaticLine, etc.
-- wxShowTip for showing 'startup tips' to the user.
-- wxSocket and wxThread classes rewritten.
-- New, consistent drag and drop API (not wxMotif).
-- Better-looking dialogs in wxGTK; native message box used
-  in wxMotif.
-- wxSizers reimplemented and used to specify window layout
-  for some generic dialogs.
-- New, more sophisticated wxGrid class (in beta). The old grid
-  class can still be used.
-- Text alignment options in wxStaticText.
-- wxImage class extended to read PCX and GIF files.
-- Documentation improvements.
-- Revised configure system for wxGTK and wxMotif; tmake-based
-  system for generating wxMSW makefiles.
-- Installer for Windows as alternative to zip archives.
+Please see changes.txt for details.
 
 Platforms supported
 -------------------
@@ -73,8 +34,8 @@ wxWindows 2 currently supports the following platforms:
 - Mac (not covered here: please see the wxWindows web site
   for details)
 
-Most popular C++ compilers are supported; see the release notes
-(available via docs/html/index.htm) for details.
+Most popular C++ compilers are supported; see the install.txt
+file for each platform (available via docs/html/index.htm) for details.
 
 Files
 -----
@@ -189,12 +150,9 @@ already present in user's system - like glibc usually is).
 If compiled with --enable-odbc (Unix only), wxWindows library will 
 contain iODBC library which is covered by LGPL.
 
-
 Documentation
 -------------
 
-See docs/release.txt for some notes about the current release.
-
 See docs/bugs.txt for a bug list: this file is new and will initially
   be edited by hand, later generated from a web-based bug database.
 
@@ -229,5 +187,5 @@ web site) or contact Julian Smart <julian.smart@ukonline.co.uk>.
 
 Good luck!
 
-The wxWindows Team, Janurary 2000
+The wxWindows Team, February 2000
 
index f9d473583012d07668e520b935e862c47910cdc6..6fb13eda0a26b5d19b64f7035676c035cf76a458 100644 (file)
@@ -4,7 +4,7 @@ wxWindows Release Notes
 2.1.13
 ======
 
-- New wxEncodingConverter class
+- New wxEncodingConverter class.
 
 
 2.1.12
index cb18539d48c6b07aeefce583ca127de539f59131..8fc5a7ca9f914790a01cd93a80f53132c5e74078 100644 (file)
@@ -635,8 +635,11 @@ MyPanel::MyPanel( wxFrame *frame, int x, int y, int w, int h )
 #ifdef __WXMSW__
     // test for masked bitmap display
     bitmap = wxBitmap("test2.bmp", wxBITMAP_TYPE_BMP);
-    bitmap.SetMask(new wxMask(bitmap, *wxBLUE));
-    (void)new wxStaticBitmap /* wxBitmapButton */ (panel, -1, bitmap, wxPoint(300, 120));
+    if (bitmap.Ok())
+    {
+       bitmap.SetMask(new wxMask(bitmap, *wxBLUE));
+       (void)new wxStaticBitmap /* wxBitmapButton */ (panel, -1, bitmap, wxPoint(300, 120));
+    }
 #endif
 
     wxBitmap bmp1(wxTheApp->GetStdIcon(wxICON_INFORMATION)),
index 926293e87868868ef8a9c8c6b56c4e4d18544b3e..888b7713d7485a61c510ddf810ecac4adb4e4661 100644 (file)
@@ -567,7 +567,7 @@ void wxDialog::DoShowModal()
     }
 
     // and restore focus
-    if ( winFocus )
+    if ( winFocus && (winFocus != this) )
     {
         winFocus->SetFocus();
     }
index 1963b4294f9e120accb17dc2dbbb774b71b1092e..21281082e8607c515ead3026b897e047954c4f6c 100644 (file)
@@ -158,6 +158,8 @@ bool MyApp::OnInit()
     MyDialog* dialog = new MyDialog("VC++ MakeProject");
     dialog->ShowModal();
 
+    delete dialog;
+
     return FALSE;
 }
 
@@ -1031,7 +1033,7 @@ MyDialog::MyDialog(const wxString& title, const wxPoint& pos, const wxSize& size
 
 void MyDialog::OnQuit(wxCommandEvent& event)
 {
-    this->Destroy();
+    this->EndModal(wxID_OK);
 }
 
 void MyDialog::OnAbout(wxCommandEvent& event)