Corrections for 16-bit compilers, doc updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
Document Type: WSE
|
Document Type: WSE
|
||||||
item: Global
|
item: Global
|
||||||
Version=5.0
|
Version=5.0
|
||||||
Title=wxWindows 2.1.16 Installation
|
Title=wxWindows 2.2.0 Installation
|
||||||
Flags=00000100
|
Flags=00000100
|
||||||
Split=1420
|
Split=1420
|
||||||
Languages=65 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
|
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
|
end
|
||||||
item: Set Variable
|
item: Set Variable
|
||||||
Variable=APPTITLE
|
Variable=APPTITLE
|
||||||
Value=wxWindows 2.1.16
|
Value=wxWindows 2.2.0
|
||||||
end
|
end
|
||||||
item: Set Variable
|
item: Set Variable
|
||||||
Variable=GROUP
|
Variable=GROUP
|
||||||
|
@@ -1,6 +1,83 @@
|
|||||||
wxWindows 2 Change Log
|
wxWindows 2 Change Log
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
|
2.2.0
|
||||||
|
-----
|
||||||
|
|
||||||
|
wxBase:
|
||||||
|
|
||||||
|
- Fixed bug with directories with trailing (back)slashes in wxPathExists
|
||||||
|
- wxString: added wxArrayString::operator==() and !=()
|
||||||
|
- Fixes for wxCmdLineParser
|
||||||
|
- Added wxGetLocalTimeMillis
|
||||||
|
- Completed Czech translations
|
||||||
|
- Some stream corrections
|
||||||
|
- added missing consts to wxPoint operators
|
||||||
|
- wxDateTime ParseFormat fixes
|
||||||
|
- wxFile::Open(write_append) will create file if it doesn't exist
|
||||||
|
- small fixes to MIME mailcap test command handling, more MIME tests in the sample
|
||||||
|
|
||||||
|
All (GUI):
|
||||||
|
|
||||||
|
- wxGenericDragImage now allows virtual image drawing, and
|
||||||
|
flicker-free dragging is now possible
|
||||||
|
- Added wxPrinter::GetLastError
|
||||||
|
- Fixed wxLogGui reentrancy problem
|
||||||
|
- Paper names now translated
|
||||||
|
- wxGrid fixes
|
||||||
|
- Generic validator now caters for more cases (integers in
|
||||||
|
wxTextCtrl, strings in wxChoice, wxComboBox)
|
||||||
|
- Fixed crash when docview On... functions return FALSE. Show
|
||||||
|
error message when an non-existent filename is typed into the Open
|
||||||
|
File dialog.
|
||||||
|
- Corrected Baltic font encoding handling
|
||||||
|
- wxImage: enhanced TIFF code, added new platform-independent BMP
|
||||||
|
writing code
|
||||||
|
- wxKeyEvent::GetKeyCode() and HasModifiers() added and documented
|
||||||
|
- Fixed wxPropertyForm crashes in sample
|
||||||
|
- wxWizard now calls TransferDataFromWindow() before calling
|
||||||
|
wxWizardPage::GetNext() fixing an obvious bug
|
||||||
|
|
||||||
|
wxMSW:
|
||||||
|
|
||||||
|
- wxWindow::GetCharWidth/Height now calculated accurately.
|
||||||
|
This will affect all .wxr dialog resources, so for
|
||||||
|
backward compatibility, please set
|
||||||
|
wxDIALOG_UNIT_COMPATIBILITY to 1 in setup.h
|
||||||
|
- wxListCtrl: set item text in LIST_ITEM_ACTIVATED events
|
||||||
|
- wxTextCtrl: implemented setting colours for rich edit controls
|
||||||
|
- wxColour now accepts both grey and gray
|
||||||
|
- BC++ DLL compilation fixed
|
||||||
|
- Watcom C++ makefiles improved for JPEG and TIFF compilation
|
||||||
|
- Fixed submenu accelerator bug
|
||||||
|
- Fixed dialog focus bug (crash if the previous window to have
|
||||||
|
the focus was destroyed before the dialog closed)
|
||||||
|
- Too-small default wxTextCtrl height fixed
|
||||||
|
- fixed "missing" initial resize of wxMDIChildFrame
|
||||||
|
- wxFrame restores focus better
|
||||||
|
- Now ignore wxTHICK_FRAME in wxWindow constructor: only relevant to
|
||||||
|
frames anddialogs, interferes with other window styles otherwise
|
||||||
|
(sometimes you'd get a thick frame in a subwindow)
|
||||||
|
- wxTextCtrl insertion point set to the beginning of the control by SetValue
|
||||||
|
- Fix so wxMDIParentFrame is actually shown when Show(TRUE) is called.
|
||||||
|
- wxFileDialog: adjusts struct size if there's an error (struct
|
||||||
|
sizes can be different on different versions of Windows)
|
||||||
|
- wxImageList::GetSize() documented and added to wxMSW
|
||||||
|
- fixed default dialog style to make them non resizeable again
|
||||||
|
- fixed wxFrame::IsShown() which always returned TRUE before
|
||||||
|
|
||||||
|
wxGTK:
|
||||||
|
|
||||||
|
- Please see docs/gtk/changes.txt.
|
||||||
|
|
||||||
|
wxMotif:
|
||||||
|
|
||||||
|
- Small compilation fixes
|
||||||
|
|
||||||
|
Documentation:
|
||||||
|
|
||||||
|
- wxCaret documented
|
||||||
|
|
||||||
2.1.16
|
2.1.16
|
||||||
------
|
------
|
||||||
|
|
||||||
|
@@ -18,6 +18,13 @@ News
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
<H3><a name="release2_2_0">July 9th, 2000</H3><P>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><a href="download.htm" target=wxmain>wxWindows 2.2.0</a> is the result of many
|
||||||
|
fixes and enhancements to 2.1, and is an official stable release.
|
||||||
|
</ul>
|
||||||
|
|
||||||
<H3><a name="release2_1_16">June 4th, 2000</H3><P>
|
<H3><a name="release2_1_16">June 4th, 2000</H3><P>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
|
@@ -31,7 +31,7 @@
|
|||||||
}}
|
}}
|
||||||
\winhelpignore{\author{Julian Smart, Robert Roebling, Vadim Zeitlin,
|
\winhelpignore{\author{Julian Smart, Robert Roebling, Vadim Zeitlin,
|
||||||
Robin Dunn, et al}
|
Robin Dunn, et al}
|
||||||
\date{June 10th 2000}
|
\date{July 9th 2000}
|
||||||
}
|
}
|
||||||
\makeindex
|
\makeindex
|
||||||
\begin{document}
|
\begin{document}
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
wxWindows 2.1.16
|
wxWindows 2.2.0
|
||||||
----------------
|
---------------
|
||||||
|
|
||||||
Welcome to wxWindows 2, a sophisticated cross-platform C++
|
Welcome to wxWindows 2, a sophisticated cross-platform C++
|
||||||
framework for writing advanced GUI applications using (where
|
framework for writing advanced GUI applications using (where
|
||||||
@@ -12,7 +12,7 @@ and facilities for writing TCP/IP applications, thread handling, and more.
|
|||||||
Where certain features are not available on a platform, such as MDI and
|
Where certain features are not available on a platform, such as MDI and
|
||||||
tree controls on Unix, they are emulated.
|
tree controls on Unix, they are emulated.
|
||||||
|
|
||||||
A detailed 1100-page reference manual is supplied in HTML, PDF and
|
A detailed 1400-page reference manual is supplied in HTML, PDF and
|
||||||
Windows Help form: see the docs hierarchy.
|
Windows Help form: see the docs hierarchy.
|
||||||
|
|
||||||
For a quick start, point your Web browser at docs/html/index.htm for a
|
For a quick start, point your Web browser at docs/html/index.htm for a
|
||||||
@@ -23,16 +23,6 @@ Changes in this release
|
|||||||
|
|
||||||
Please see changes.txt for details.
|
Please see changes.txt for details.
|
||||||
|
|
||||||
Note that there is a new contrib hierarchy for contributions,
|
|
||||||
which mirrors the regular wxWindows hierarchy. The Object
|
|
||||||
Graphics Library and MMedia library have been moved under
|
|
||||||
contrib, so you may need to change your makefiles or project
|
|
||||||
files, together with your source files. E.g. change #include "ogl.h"
|
|
||||||
to #include <wx/ogl/ogl>.
|
|
||||||
|
|
||||||
Also VC++ project files and makefiles have been made more
|
|
||||||
consistent, so some paths and library names have changed.
|
|
||||||
|
|
||||||
Platforms supported
|
Platforms supported
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
@@ -46,6 +36,7 @@ wxWindows 2 currently supports the following platforms:
|
|||||||
|
|
||||||
Most popular C++ compilers are supported; see the install.txt
|
Most popular C++ compilers are supported; see the install.txt
|
||||||
file for each platform (available via docs/html/index.htm) for details.
|
file for each platform (available via docs/html/index.htm) for details.
|
||||||
|
See also http://www.lpthe.jussieu.fr/~zeitlin/wxWindows/platform.html.
|
||||||
|
|
||||||
Files
|
Files
|
||||||
-----
|
-----
|
||||||
@@ -215,5 +206,5 @@ web site) or contact Julian Smart <julian.smart@ukonline.co.uk>.
|
|||||||
|
|
||||||
Good luck!
|
Good luck!
|
||||||
|
|
||||||
The wxWindows Team, 4th June, 2000
|
The wxWindows Team, 9th July, 2000
|
||||||
|
|
||||||
|
@@ -803,6 +803,10 @@
|
|||||||
|
|
||||||
#undef wxUSE_MS_HTML_HELP
|
#undef wxUSE_MS_HTML_HELP
|
||||||
#define wxUSE_MS_HTML_HELP 0
|
#define wxUSE_MS_HTML_HELP 0
|
||||||
|
|
||||||
|
#undef wxUSE_WCHAR_T
|
||||||
|
#define wxUSE_WCHAR_T 0
|
||||||
|
|
||||||
#endif // Win16
|
#endif // Win16
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@@ -548,6 +548,18 @@ bool wxFontMapper::TestAltEncoding(const wxString& configEntry,
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if wxUSE_GUI
|
||||||
|
class ReentrancyBlocker
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
ReentrancyBlocker(bool& b) : m_b(b) { m_b = TRUE; }
|
||||||
|
~ReentrancyBlocker() { m_b = FALSE; }
|
||||||
|
|
||||||
|
private:
|
||||||
|
bool& m_b;
|
||||||
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
bool wxFontMapper::GetAltForEncoding(wxFontEncoding encoding,
|
bool wxFontMapper::GetAltForEncoding(wxFontEncoding encoding,
|
||||||
wxNativeEncodingInfo *info,
|
wxNativeEncodingInfo *info,
|
||||||
const wxString& facename,
|
const wxString& facename,
|
||||||
@@ -568,15 +580,7 @@ bool wxFontMapper::GetAltForEncoding(wxFontEncoding encoding,
|
|||||||
if ( interactive && s_inGetAltForEncoding )
|
if ( interactive && s_inGetAltForEncoding )
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
class ReentrancyBlocker
|
ReentrancyBlocker blocker(s_inGetAltForEncoding);
|
||||||
{
|
|
||||||
public:
|
|
||||||
ReentrancyBlocker(bool& b) : m_b(b) { m_b = TRUE; }
|
|
||||||
~ReentrancyBlocker() { m_b = FALSE; }
|
|
||||||
|
|
||||||
private:
|
|
||||||
bool& m_b;
|
|
||||||
} blocker(s_inGetAltForEncoding);
|
|
||||||
#endif // wxUSE_GUI
|
#endif // wxUSE_GUI
|
||||||
|
|
||||||
wxCHECK_MSG( info, FALSE, wxT("bad pointer in GetAltForEncoding") );
|
wxCHECK_MSG( info, FALSE, wxT("bad pointer in GetAltForEncoding") );
|
||||||
|
@@ -43,7 +43,7 @@ DLL=0
|
|||||||
|
|
||||||
!if "$(WXMAKINGDLL)" == "1"
|
!if "$(WXMAKINGDLL)" == "1"
|
||||||
DLL_FLAGS= -DWXMAKINGDLL=1 -D_RTLDLL
|
DLL_FLAGS= -DWXMAKINGDLL=1 -D_RTLDLL
|
||||||
WXLIB= $(WXLIBDIR)\wx200.lib
|
WXLIB= $(WXLIBDIR)\wx220.lib
|
||||||
|
|
||||||
!else
|
!else
|
||||||
|
|
||||||
@@ -51,7 +51,7 @@ LINK_FLAGS= /aa /c
|
|||||||
|
|
||||||
!if "$(WXUSINGDLL)" == "1"
|
!if "$(WXUSINGDLL)" == "1"
|
||||||
DLL_FLAGS= -DWXUSINGDLL=1 -D_RTLDLL
|
DLL_FLAGS= -DWXUSINGDLL=1 -D_RTLDLL
|
||||||
WXLIB= $(WXLIBDIR)\wx200.lib
|
WXLIB= $(WXLIBDIR)\wx220.lib
|
||||||
!else
|
!else
|
||||||
DLL_FLAGS=
|
DLL_FLAGS=
|
||||||
WXLIB= $(WXLIBDIR)\wx32.lib
|
WXLIB= $(WXLIBDIR)\wx32.lib
|
||||||
|
@@ -18,7 +18,7 @@ MINGW32=1
|
|||||||
MINGW32VERSION=2.95
|
MINGW32VERSION=2.95
|
||||||
|
|
||||||
# If building DLL, the version
|
# If building DLL, the version
|
||||||
WXVERSION=21_16
|
WXVERSION=22_0
|
||||||
|
|
||||||
# Say yes if you have a "modern" linker that supports --shared option.
|
# Say yes if you have a "modern" linker that supports --shared option.
|
||||||
# Note that you're probably going to wait forever for dlltool/gcc/etc
|
# Note that you're probably going to wait forever for dlltool/gcc/etc
|
||||||
|
@@ -8,7 +8,7 @@
|
|||||||
#
|
#
|
||||||
!include <ntwin32.mak>
|
!include <ntwin32.mak>
|
||||||
|
|
||||||
WXVERSION=21_16
|
WXVERSION=22_0
|
||||||
WIN95=1
|
WIN95=1
|
||||||
|
|
||||||
!if "$(WIN95)" == "0"
|
!if "$(WIN95)" == "0"
|
||||||
|
@@ -328,6 +328,7 @@ int wxFileDialog::ShowModal()
|
|||||||
|
|
||||||
DWORD errCode = CommDlgExtendedError();
|
DWORD errCode = CommDlgExtendedError();
|
||||||
|
|
||||||
|
#ifdef __WIN32__
|
||||||
if (!success && (errCode == CDERR_STRUCTSIZE))
|
if (!success && (errCode == CDERR_STRUCTSIZE))
|
||||||
{
|
{
|
||||||
// The struct size has changed so try a smaller or bigger size
|
// The struct size has changed so try a smaller or bigger size
|
||||||
@@ -345,6 +346,7 @@ int wxFileDialog::ShowModal()
|
|||||||
: (GetOpenFileName(&of) != 0);
|
: (GetOpenFileName(&of) != 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if ( success )
|
if ( success )
|
||||||
{
|
{
|
||||||
|
@@ -1097,11 +1097,14 @@ void wxWindow::DoGetSize(int *x, int *y) const
|
|||||||
{
|
{
|
||||||
HWND hWnd = GetHwnd();
|
HWND hWnd = GetHwnd();
|
||||||
RECT rect;
|
RECT rect;
|
||||||
|
#ifdef __WIN16__
|
||||||
|
::GetWindowRect(hWnd, &rect);
|
||||||
|
#else
|
||||||
if ( !::GetWindowRect(hWnd, &rect) )
|
if ( !::GetWindowRect(hWnd, &rect) )
|
||||||
{
|
{
|
||||||
wxLogLastError(_T("GetWindowRect"));
|
wxLogLastError(_T("GetWindowRect"));
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
if ( x )
|
if ( x )
|
||||||
*x = rect.right - rect.left;
|
*x = rect.right - rect.left;
|
||||||
if ( y )
|
if ( y )
|
||||||
@@ -3060,10 +3063,14 @@ bool wxWindow::HandleGetMinMaxInfo(void *mmInfo)
|
|||||||
void wxWindow::SendSizeEvent()
|
void wxWindow::SendSizeEvent()
|
||||||
{
|
{
|
||||||
RECT r;
|
RECT r;
|
||||||
|
#ifdef __WIN16__
|
||||||
|
::GetWindowRect(GetHwnd(), &r);
|
||||||
|
#else
|
||||||
if ( !::GetWindowRect(GetHwnd(), &r) )
|
if ( !::GetWindowRect(GetHwnd(), &r) )
|
||||||
{
|
{
|
||||||
wxLogLastError(_T("GetWindowRect"));
|
wxLogLastError(_T("GetWindowRect"));
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
(void)::PostMessage(GetHwnd(), WM_SIZE, SIZE_RESTORED,
|
(void)::PostMessage(GetHwnd(), WM_SIZE, SIZE_RESTORED,
|
||||||
MAKELPARAM(r.right - r.left, r.bottom - r.top));
|
MAKELPARAM(r.right - r.left, r.bottom - r.top));
|
||||||
|
Reference in New Issue
Block a user