Updates for 2.3.1; fixed syntax error in makefile.b32 but this probably

means that the 'version' fix for BC++ doesn't work (misapplied?)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2001-06-09 17:43:16 +00:00
parent 40a8907605
commit bc00e7155e
12 changed files with 86 additions and 26 deletions

View File

@@ -31,7 +31,7 @@
; DO NOT DELETE THEM or you may be unable to reload the script ; DO NOT DELETE THEM or you may be unable to reload the script
;[ScriptSetup] ;[ScriptSetup]
;VerNum=2.3.0 ;VerNum=2.3.1
;InnoVer=1.3 ;InnoVer=1.3
;AddVerTo=AppVerName ;AddVerTo=AppVerName
;SetupFilename=setup.exe ;SetupFilename=setup.exe

View File

@@ -4,13 +4,13 @@
[Setup] [Setup]
MinVersion=4.0,4.0 MinVersion=4.0,4.0
AppName=wxWindows 2.3.0 AppName=wxWindows 2.3.1
AppId=wxWindows AppId=wxWindows
CreateUninstallRegKey=1 CreateUninstallRegKey=1
UsePreviousAppDir=1 UsePreviousAppDir=1
UsePreviousGroup=1 UsePreviousGroup=1
AppVersion=2.3.0 AppVersion=2.3.1
AppVerName=wxWindows 2.3.0 AppVerName=wxWindows 2.3.1
AppCopyright=Copyright <20> The wxWindows Team AppCopyright=Copyright <20> The wxWindows Team
BackColor=$FF0000 BackColor=$FF0000
BackColor2=$000000 BackColor2=$000000
@@ -19,7 +19,7 @@
WindowStartMaximized=1 WindowStartMaximized=1
WindowVisible=1 WindowVisible=1
WindowResizable=1 WindowResizable=1
UninstallDisplayName=wxWindows 2.3.0 UninstallDisplayName=wxWindows 2.3.1
UninstallLogMode=Append UninstallLogMode=Append
DirExistsWarning=auto DirExistsWarning=auto
UninstallFilesDir={app} UninstallFilesDir={app}
@@ -28,10 +28,10 @@
CreateAppDir=1 CreateAppDir=1
DisableProgramGroupPage=0 DisableProgramGroupPage=0
AlwaysCreateUninstallIcon=1 AlwaysCreateUninstallIcon=1
UninstallIconName=Uninstall wxWindows 2.3.0 UninstallIconName=Uninstall wxWindows 2.3.1
Uninstallable=1 Uninstallable=1
DefaultDirName=c:\wx230 DefaultDirName=c:\wx230
DefaultGroupName=wxWindows 2.3.0 DefaultGroupName=wxWindows 2.3.1
LicenseFile=C:\wx2dev\wxWindows\docs\licence.txt LicenseFile=C:\wx2dev\wxWindows\docs\licence.txt
InfoBeforeFile=C:\wx2dev\wxWindows\docs\readme.txt InfoBeforeFile=C:\wx2dev\wxWindows\docs\readme.txt
InfoAfterFile=C:\wx2dev\wxWindows\docs\msw\install.txt InfoAfterFile=C:\wx2dev\wxWindows\docs\msw\install.txt

View File

@@ -159,7 +159,7 @@ default: wx
wx: $(CFG) $(DUMMY).obj $(OBJECTS) $(PERIPH_TARGET) $(LIBTARGET) wx: $(CFG) $(DUMMY).obj $(OBJECTS) $(PERIPH_TARGET) $(LIBTARGET)
all: all_libs all_execs all: wx
!if "$(DLL)" == "0" !if "$(DLL)" == "0"
@@ -189,7 +189,8 @@ wxb32
dummy.obj: dummy.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h dummy.obj: dummy.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h
dummydll.obj: dummydll.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h dummydll.obj: dummydll.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h
version.res
#version.res
$(MSWDIR)\y_tab.obj: $(COMMDIR)\y_tab.c $(COMMDIR)\lex_yy.c $(MSWDIR)\y_tab.obj: $(COMMDIR)\y_tab.c $(COMMDIR)\lex_yy.c

View File

@@ -6,7 +6,7 @@ set dest=%src\deliver
set inno=0 set inno=0
Rem Set this to the required version Rem Set this to the required version
set version=2.3.0 set version=2.3.1
if "%src" == "" goto usage if "%src" == "" goto usage
if "%dest" == "" goto usage if "%dest" == "" goto usage

View File

@@ -4,16 +4,58 @@ wxWindows 2 Change Log
2.3.1 2.3.1
----- -----
wxBase:
- Fixes for gcc 3.0
- Fixed new charset detection code (langinfo.h not included in intl.cpp;
langinfo.h not neccessary in strconv.cpp)
- ODBC Informix fixes (submitted by Roger Gammans)
- Added wxDir::Traverse
All (GUI): All (GUI):
- Added EVT_GRID_EDITOR_CREATED and wxGridEditorCreatedEvent so the - Added EVT_GRID_EDITOR_CREATED and wxGridEditorCreatedEvent so the
user code can get access to the edit control when it is created, (to user code can get access to the edit control when it is created, (to
push on a custom event handler for example.) push on a custom event handler for example)
- Added wxTextAttr class and SetStyle, SetDefaultStyle and - Added wxTextAttr class and SetStyle, SetDefaultStyle and
GetDefaultStyle methods to wxTextCtrl. GetDefaultStyle methods to wxTextCtrl
- Added wxSingleInstanceChecker
- Improvements to Tex2RTF
- Added Paul and Roger Gammans' grid controls
- Bug in wxDocument::Save logic corrected, whereby Save didn't save when not
first-time saved
- Fixed memory leak in textcmn.cpp
- Various wxXML enhancements
- Removed wxCLIP_CHILDREN style from wxSplitterWindow
- Fixed memory leak in DoPrint, htmprint.cpp
- Fixed calendar sample bug with using wxCommandEvent::GetInt()
instead of GetId()
wxMSW:
- Fixed wxApp::ProcessMessage so controls don't lose their
accelerators when the accelerators are redefined elsewhere
- Accelerators consisting of simple keystrokes (without control,
alt or shift) are now possible
- Compile fixes for Watcom C++ added
- Compile fixes for Cygwin 1.0 added
- Replaced wxYield() call in PopupMenu() by a much safer
wxYieldForCommandsOnly() - fixes tree ctrl bug
- Enter processing in wxSpinCtrl fixed
- Fixed bug in determining the best listbox size
- Fix for wxFrame's last focus bug
- We now send iconize events
- Fixed wxFrame::SetClientSize() with toolbar bug
- Added mousewheel processing
wxGTK:
- Fixed slider rounding bug
- Added code to set wxFont's default encoding to
wxLocale::GetSystemEncoding()
- We now send iconize events
- Fix for discrepancies between wxNotebookEvent and wxNotebook
GetSelection() results
2.3.0 2.3.0
----- -----
@@ -49,7 +91,6 @@ All (GUI):
- ODBC NULL column support completed (Roger/Paul Gammans) - ODBC NULL column support completed (Roger/Paul Gammans)
- ODBC All "char *" and char arrays removed and replaced with wxString use - ODBC All "char *" and char arrays removed and replaced with wxString use
wxMSW: wxMSW:
- threads: bug in wxCondition::Broadcast fixed (Pieter van der Meulen) - threads: bug in wxCondition::Broadcast fixed (Pieter van der Meulen)

View File

@@ -80,7 +80,7 @@ had been used is an error.
\wxheading{Parameters} \wxheading{Parameters}
\docparam{name}{must be given and be as unique as possible, it is used as the \docparam{name}{must be given and be as unique as possible. It is used as the
mutex name under Win32 and the lock file name under Unix. mutex name under Win32 and the lock file name under Unix.
\helpref{GetAppName()}{wxappgetappname} may be a good value for this parameter} \helpref{GetAppName()}{wxappgetappname} may be a good value for this parameter}

View File

@@ -1,4 +1,4 @@
wxWindows 2.3.0 wxWindows 2.3.1
--------------- ---------------
*** Please note that this is an UNSTABLE DEVELOPMENT SNAPSHOT. *** Please note that this is an UNSTABLE DEVELOPMENT SNAPSHOT.
@@ -182,9 +182,6 @@ the Independent JPEG Group". See src/jpeg/README for details.
Documentation Documentation
------------- -------------
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.
See docs/html/index.htm for an HTML index of the major documents. See docs/html/index.htm for an HTML index of the major documents.
See docs/changes.txt for a summary of changes to wxWindows 2. See docs/changes.txt for a summary of changes to wxWindows 2.
@@ -215,7 +212,7 @@ front-end and hundreds of MB of compilers, utilities and other
material may be ordered from the CD-ROM page: see the wxWindows material may be ordered from the CD-ROM page: see the wxWindows
web site. web site.
Good luck! Have fun!
The wxWindows Team, 12th May, 2001 The wxWindows Team, 10th June, 2001

View File

@@ -115,7 +115,7 @@ wxSize wxGridCellDateTimeRenderer::GetBestSize(wxGrid& grid,
} }
void wxGridCellDateTimeRenderer::SetParameters(const wxString& params){ void wxGridCellDateTimeRenderer::SetParameters(const wxString& params){
if(params) if (!params.IsEmpty())
m_oformat=params; m_oformat=params;
} }
@@ -128,7 +128,7 @@ void wxGridCellDateTimeRenderer::SetParameters(const wxString& params){
wxGridCellEnumRenderer::wxGridCellEnumRenderer(const wxString& choices) wxGridCellEnumRenderer::wxGridCellEnumRenderer(const wxString& choices)
{ {
if(choices) if (!choices.IsEmpty())
SetParameters(choices); SetParameters(choices);
} }
@@ -215,7 +215,7 @@ void wxGridCellEnumRenderer::SetParameters(const wxString& params)
wxGridCellEnumEditor::wxGridCellEnumEditor(const wxString& choices) wxGridCellEnumEditor::wxGridCellEnumEditor(const wxString& choices)
: wxGridCellChoiceEditor() : wxGridCellChoiceEditor()
{ {
if(choices) if (!choices.IsEmpty())
SetParameters(choices); SetParameters(choices);
} }
@@ -363,7 +363,7 @@ wxGridCellAutoWrapStringRenderer::GetBestSize(wxGrid& grid,
wxDC& dc, wxDC& dc,
int row, int col) int row, int col)
{ {
int x,y, height , width = grid.GetColSize(col) -10; wxCoord x,y, height , width = grid.GetColSize(col) -10;
int count = 250; //Limit iterations.. int count = 250; //Limit iterations..
wxRect rect(0,0,width,10); wxRect rect(0,0,width,10);

View File

@@ -351,7 +351,7 @@ default: wx
wx: $(CFG) $(DUMMY).obj $(OBJECTS) $(PERIPH_TARGET) $(LIBTARGET) wx: $(CFG) $(DUMMY).obj $(OBJECTS) $(PERIPH_TARGET) $(LIBTARGET)
all: all_libs all_execs all: wx
!if "$(DLL)" == "0" !if "$(DLL)" == "0"
@@ -381,7 +381,8 @@ wxb32
dummy.obj: dummy.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h dummy.obj: dummy.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h
dummydll.obj: dummydll.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h dummydll.obj: dummydll.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h
version.res
#version.res
$(MSWDIR)\y_tab.obj: $(COMMDIR)\y_tab.c $(COMMDIR)\lex_yy.c $(MSWDIR)\y_tab.obj: $(COMMDIR)\y_tab.c $(COMMDIR)\lex_yy.c

View File

@@ -1313,6 +1313,10 @@ bool wxTextCtrl::SetStyle(long start, long end, const wxTextAttr& style)
} }
#if wxUSE_RICHEDIT2 #if wxUSE_RICHEDIT2
#ifndef CFM_BACKCOLOR
#define CFM_BACKCOLOR 0x04000000
#endif
if ( wxRichEditModule::GetLoadedVersion() > 1 && style.HasBackgroundColour() ) if ( wxRichEditModule::GetLoadedVersion() > 1 && style.HasBackgroundColour() )
{ {
cf.dwMask |= CFM_BACKCOLOR; cf.dwMask |= CFM_BACKCOLOR;

View File

@@ -560,6 +560,10 @@ SOURCE=.\generic\grid.cpp
# End Source File # End Source File
# Begin Source File # Begin Source File
SOURCE=.\generic\gridctrl.cpp
# End Source File
# Begin Source File
SOURCE=.\generic\gridsel.cpp SOURCE=.\generic\gridsel.cpp
# End Source File # End Source File
# Begin Source File # Begin Source File
@@ -1067,6 +1071,10 @@ SOURCE=.\msw\slidrmsw.cpp
# End Source File # End Source File
# Begin Source File # Begin Source File
SOURCE=.\msw\snglinst.cpp
# End Source File
# Begin Source File
SOURCE=.\msw\spinbutt.cpp SOURCE=.\msw\spinbutt.cpp
# End Source File # End Source File
# Begin Source File # Begin Source File

View File

@@ -558,6 +558,10 @@ SOURCE=.\generic\grid.cpp
# End Source File # End Source File
# Begin Source File # Begin Source File
SOURCE=.\generic\gridctrl.cpp
# End Source File
# Begin Source File
SOURCE=.\generic\gridsel.cpp SOURCE=.\generic\gridsel.cpp
# End Source File # End Source File
# Begin Source File # Begin Source File
@@ -1065,6 +1069,10 @@ SOURCE=.\msw\slidrmsw.cpp
# End Source File # End Source File
# Begin Source File # Begin Source File
SOURCE=.\msw\snglinst.cpp
# End Source File
# Begin Source File
SOURCE=.\msw\spinbutt.cpp SOURCE=.\msw\spinbutt.cpp
# End Source File # End Source File
# Begin Source File # Begin Source File