Various distrib things,

Applied patches for HP-UX compilation,
  Corrected (?) vetoing of tree expansion,
  Raised version.h to 2.1.10


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-10-11 22:36:46 +00:00
parent 46c3e3d92a
commit d5a07b9ec9
8 changed files with 87 additions and 24 deletions

View File

@@ -446,7 +446,7 @@ dnl WX_INTERFACE_AGE = 0
WX_MAJOR_VERSION_NUMBER=2 WX_MAJOR_VERSION_NUMBER=2
WX_MINOR_VERSION_NUMBER=1 WX_MINOR_VERSION_NUMBER=1
WX_RELEASE_NUMBER=0 WX_RELEASE_NUMBER=10
WX_INTERFACE_AGE=0 WX_INTERFACE_AGE=0
WX_BINARY_AGE=0 WX_BINARY_AGE=0

View File

@@ -1,4 +1,78 @@
25th October '99: My birthday, wxWindows 2.1.10 released
Enlightment has struck the majority of the developers and
they have chosen ti use the Linux kernel numbering scheme
for wxWindows from now on. This means that the next stable
release will be called wxWindows 2.2.X, development snapshots
will be called 2.1.X.
A lot of discussion has been wasted on how to maintain a
once released stable version will be maintained. It was
almost universally agreed that only a commercial entity
will have the motivation ($$$) to do that - so far there
is no wxWindows Inc.
Support for GTK 1.0 has been dropped.
Many build fixes for various platforms have been applied,
try again, poor HP-UX and *BSD users, but don't reckon
with immediate success.
My total rewrite of the wxWindows underlying GTK widget
has turned scrolling including subwindows from barely
functional to pretty and fast.
wxSocket and Co. have been improved up to the point of
calling it a rewrite. It works on wxMSW now too and
seems pretty stable, but testing is still welcome.
The ODBC classes contributed by Remstar Inc. have been
overhauled (incl the sample) and have been tested with
all relevant SQL databases (even DBase). For that reason
I have reawakened the iODBC code from wxGTK 2.0 so you
can now use wxODBC from wxMSW and wxGTK.
Several printing things fixed.
HTML widget and its wxWindows' help system based upon
it have been reorganized and improved for easier use
from Python and C++.
wxSpinCtrl added. Like a wxSpinButton and a wxTextCtrl.
Changed the beaviour of the popular new wxFileDialog to
not forget the once typed file name when changing the
directory.
Implemented the wxSIMPLE_BORDER flag (simple black line
without shadow affect).
Michael is writing a complete rewrite of the antiquated
wxGrid. This is still work-in-progress and might not make
it into wxWindows 2.2, we'll see. Help would be welcome
to make that happen.
Made wxMenu code lose less memory, also added wxMenu::Delete().
Added code to send wxActivateEvent to MDI windows.
Vadim added configure things to compile wxWindows without any
GUI library. This is probably work in progress. He'll also add
a wxFontEnumerator class and has enhanced wxFont to make use
of char-encodings.
wxSlider, wxWindow, wxScrollBar now emit the correct events
for scrolling (like page up, line up etc) instead of just
"thumb-track" as before.
Corrected bug in Reparent() code.
A handler to read PCX file (in most variants) has been added.
A number of problems with compressed and socket streams have
been solved.
28th August '99: Ninth wxGTK 2.1 snapshot released 28th August '99: Ninth wxGTK 2.1 snapshot released
As the old makefile system didn't work, I trashed it and wrote As the old makefile system didn't work, I trashed it and wrote

View File

@@ -281,11 +281,7 @@ public:
} }
private: private:
#ifdef __MWERKS__ friend class WXDLLEXPORT wxSplitterWindow;
friend class wxSplitterWindow;
#else
friend wxSplitterWindow;
#endif
// data for the different types of event // data for the different types of event
union union

View File

@@ -32,11 +32,7 @@ class wxMimeTypesManagerImpl;
// the accessors *must* be checked! // the accessors *must* be checked!
class WXDLLEXPORT wxFileType class WXDLLEXPORT wxFileType
{ {
#ifdef __MWERKS__ friend class WXDLLEXPORT wxMimeTypesManagerImpl; // it has access to m_impl
friend class wxMimeTypesManagerImpl; // it has access to m_impl
#else
friend wxMimeTypesManagerImpl; // it has access to m_impl
#endif
public: public:
// An object of this class must be passed to Get{Open|Print}Command. The // An object of this class must be passed to Get{Open|Print}Command. The

View File

@@ -62,11 +62,7 @@ enum wxTreeItemIcon
class WXDLLEXPORT wxTreeEvent : public wxNotifyEvent class WXDLLEXPORT wxTreeEvent : public wxNotifyEvent
{ {
#ifdef __MWERKS__ friend class WXDLLEXPORT wxTreeCtrl;
friend class wxTreeCtrl;
#else
friend wxTreeCtrl;
#endif
public: public:
wxTreeEvent(wxEventType commandType = wxEVT_NULL, int id = 0); wxTreeEvent(wxEventType commandType = wxEVT_NULL, int id = 0);

View File

@@ -15,10 +15,10 @@
/* Bump-up with each new version */ /* Bump-up with each new version */
#define wxMAJOR_VERSION 2 #define wxMAJOR_VERSION 2
#define wxMINOR_VERSION 1 #define wxMINOR_VERSION 1
#define wxRELEASE_NUMBER 0 #define wxRELEASE_NUMBER 10
#define wxVERSION_STRING "wxWindows 2.1.0" #define wxVERSION_STRING "wxWindows 2.1.10"
#define wxVERSION_NUMBER (wxMAJOR_VERSION * 1000) + (wxMINOR_VERSION * 100) + wxRELEASE_NUMBER #define wxVERSION_NUMBER (wxMAJOR_VERSION * 1000) + (wxMINOR_VERSION * 100) + wxRELEASE_NUMBER
#define wxBETA_NUMBER 9 #define wxBETA_NUMBER 0
#define wxVERSION_FLOAT wxMAJOR_VERSION + (wxMINOR_VERSION/10.0) + (wxRELEASE_NUMBER/100.0) + (wxBETA_NUMBER/10000.0) #define wxVERSION_FLOAT wxMAJOR_VERSION + (wxMINOR_VERSION/10.0) + (wxRELEASE_NUMBER/100.0) + (wxBETA_NUMBER/10000.0)
#endif #endif

View File

@@ -963,7 +963,9 @@ void wxTreeCtrl::Expand(const wxTreeItemId& itemId)
wxTreeEvent event( wxEVT_COMMAND_TREE_ITEM_EXPANDING, GetId() ); wxTreeEvent event( wxEVT_COMMAND_TREE_ITEM_EXPANDING, GetId() );
event.m_item = item; event.m_item = item;
event.SetEventObject( this ); event.SetEventObject( this );
if ( ProcessEvent( event ) && event.m_code )
// if ( ProcessEvent( event ) && event.m_code ) TODO: Was this a typo ?
if ( ProcessEvent( event ) && !event.IsAllowed() )
{ {
// cancelled by program // cancelled by program
return; return;

View File

@@ -1,7 +1,7 @@
# Note that this is NOT a relocatable package # Note that this is NOT a relocatable package
%define pref /usr %define pref /usr
%define ver 2.1.0 %define ver 2.1.10
%define rel 9 %define rel 0
Summary: The GTK+ 1.2 port of the wxWindows library Summary: The GTK+ 1.2 port of the wxWindows library
Name: wxGTK Name: wxGTK
@@ -9,10 +9,9 @@ Version: %{ver}
Release: %{rel} Release: %{rel}
Copyright: wxWindows Licence Copyright: wxWindows Licence
Group: X11/Libraries Group: X11/Libraries
Source: ftp://wesley.informatik.uni-freiburg.de/pub/linux/wxxt/source/wxGTK-2.1.0-b9.tgz Source: ftp://wesley.informatik.uni-freiburg.de/pub/linux/wxxt/source/wxGTK-2.1.10.tgz
URL: http://wesley.informatik.uni-freiburg.de/~wxxt/docs.html URL: http://wesley.informatik.uni-freiburg.de/~wxxt/docs.html
Packager: Robert Roebling <roebling@ruf.uni-freiburg.de> Packager: Robert Roebling <roebling@ruf.uni-freiburg.de>
Requires: gtk+ >= 1.2.1
BuildRoot: /tmp/wxgtk_root BuildRoot: /tmp/wxgtk_root
# all packages providing an implementation of wxWindows library (regardless of # all packages providing an implementation of wxWindows library (regardless of