Distrib things

Corrected wxPrivateDataObject a little
  Corrected wxRadioButton
  Corrected wrong defines of wxRadioBox styles


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 1999-07-25 17:11:17 +00:00
parent 41bf0eb335
commit 0544bc0aab
12 changed files with 114 additions and 33 deletions

View File

@ -1,4 +1,46 @@
27th July '99: Eight wxGTK 2.1 snapshot released
The new makefile system is not able to produce shared libraries
on Unix with the exception of Linux - libtool is really great...
Work in wxPen, wxBrush and wxDC to match wxMSW more exactly and
to implement missing feature etc.
Reimplemented radio buttons. The first of a group of such buttons
is now marked by having the wxRB_GROUP style.
Complete redesign of all stream classes, including tests for them
in the samples.
Controls now send the same messages (or more importantly none if
changed programmatically) as per wxMSW.
New implementation of wxSocket using an intermediate library called
GSocket. This willl hopefully change in the future.
Reworked in-place editing of wxListCtrl and wxTreeCtrl.
Fixed bug reporting two refreshes when scrolling.
Disabled GUI threading as I have not been able to get this working
correctly in _all_ circumstances.
Corrected bug in wxComboBox client data code.
Corrected reported but unverified bug in BMP loading code.
Added a few more methods to wxStaticBitmap.
Integration of wxHTML code in the main library, including wxZIPStream,
wxFilesystem, wxHTMLHelpController and others.
Added a wrapper for ffile() etc functions.
New documentation.
Fixed in unenclosed number of other bugs...
25th June '99: Seventh wxGTK 2.1 snapshot released 25th June '99: Seventh wxGTK 2.1 snapshot released
Many fixes to th new makefile system. The last version gave Many fixes to th new makefile system. The last version gave

View File

@ -6,7 +6,7 @@
* The most simple case * The most simple case
----------------------- -----------------------
If you compile wxWindows on Unix for the first time and don't like to read If you compile wxWindows on Linux for the first time and don't like to read
install instructions just do (in the base dir): install instructions just do (in the base dir):
./configure ./configure
@ -16,6 +16,17 @@ make install
ldconfig ldconfig
exit exit
On all other Unices (maybe except *BSD), shared libraries are not supported
out of the box due to the utter stupidity of libtool, so you'll have to do
this instead:
./configure --enable-static --disable-shared
make
su <type root password>
make install
ldconfig
exit
If you want to remove wxWindows on Unix you can do this: If you want to remove wxWindows on Unix you can do this:
su <type root password> su <type root password>

View File

@ -1,5 +1,5 @@
Welcome to wxWindows/Gtk 2.1 snapshot 7, Welcome to wxWindows/Gtk 2.1 snapshot 8,
you have downloaded version 2.1 of the GTK+ 1.2 port of you have downloaded version 2.1 of the GTK+ 1.2 port of
the wxWindows GUI library. This is a developers release the wxWindows GUI library. This is a developers release

View File

@ -1,4 +1,30 @@
Installing wxWindows 2.1
------------------------
[Notes from Robert Roebling for snapshot 8]
This is a not-so-well tested snapshot release of wxWindows 2.1 for
Microsoft Windows 95, 98 and NT. This is not a production release,
although a huge number of bugs found in wxWindows 2.0 have been
fixed.
There have not been major changes in the way to build the library,
although the creation of the various makefiles has been automatized.
I myself use the GNU MingGW32 compiler from
http://www.cygnus.com
using the GNU make program from
http://agnes.dida.physik.uni-essen.de/~janjaap/mingw32
and I have not tested any other compiler, but other developers use
the makefiles for Borland C++, MS-Visual C++ 5.0 and 6.0 and probably
Metrowerks C++.
Expect problems.
Installing wxWindows 2.0 Installing wxWindows 2.0
------------------------ ------------------------

View File

@ -85,8 +85,10 @@ private:
size_t m_size; size_t m_size;
void *m_data; void *m_data;
#if !defined(__WXGTK__) && !defined(__WXMOTIF__)
// the data format // the data format
wxDataFormat m_format; wxDataFormat m_format;
#endif
}; };

View File

@ -706,18 +706,18 @@ enum
#define wxCB_DROPDOWN 0x0020 #define wxCB_DROPDOWN 0x0020
/* /*
* wxRadioBox/wxRadioButton style flags * wxRadioBox style flags
*/ */
// New, more intuitive names to specify majorDim argument // New, more intuitive names to specify majorDim argument
// Same as wxRA_HORIZONTAL #define wxRA_SPECIFY_COLS wxHORIZONTAL
#define wxRA_SPECIFY_COLS 0x0001 #define wxRA_SPECIFY_ROWS wxVERTICAL
// Same as wxRA_VERTICAL
#define wxRA_SPECIFY_ROWS 0x0002
// Old names for compatibility // Old names for compatibility
#define wxRA_HORIZONTAL wxHORIZONTAL #define wxRA_HORIZONTAL wxHORIZONTAL
#define wxRA_VERTICAL wxVERTICAL #define wxRA_VERTICAL wxVERTICAL
/*
* wxRadioButton style flag
*/
#define wxRB_GROUP 0x0004 #define wxRB_GROUP 0x0004
/* /*

View File

@ -427,7 +427,7 @@ MyPanel::MyPanel( wxFrame *frame, int x, int y, int w, int h )
m_fontButton = new wxButton( panel, ID_SET_FONT, "Set more Italic font", wxPoint(340,30), wxSize(140,30) ); m_fontButton = new wxButton( panel, ID_SET_FONT, "Set more Italic font", wxPoint(340,30), wxSize(140,30) );
(void)new wxButton( panel, ID_RADIOBOX_FONT, "Set Italic font", wxPoint(340,80), wxSize(140,30) ); (void)new wxButton( panel, ID_RADIOBOX_FONT, "Set Italic font", wxPoint(340,80), wxSize(140,30) );
(void)new wxCheckBox( panel, ID_RADIOBOX_ENABLE, "Disable", wxPoint(340,130), wxSize(140,30) ); (void)new wxCheckBox( panel, ID_RADIOBOX_ENABLE, "Disable", wxPoint(340,130), wxSize(140,30) );
wxRadioButton *rb = new wxRadioButton( panel, ID_RADIOBUTTON_1, "Radiobutton1", wxPoint(210,170), wxSize(110,30) ); wxRadioButton *rb = new wxRadioButton( panel, ID_RADIOBUTTON_1, "Radiobutton1", wxPoint(210,170), wxSize(110,30), wxRB_GROUP );
rb->SetValue( FALSE ); rb->SetValue( FALSE );
(void)new wxRadioButton( panel, ID_RADIOBUTTON_2, "Radiobutton2", wxPoint(340,170), wxSize(110,30) ); (void)new wxRadioButton( panel, ID_RADIOBUTTON_2, "Radiobutton2", wxPoint(340,170), wxSize(110,30) );
m_notebook->AddPage(panel, "wxRadioBox", FALSE, Image_Radio); m_notebook->AddPage(panel, "wxRadioBox", FALSE, Image_Radio);

View File

@ -93,6 +93,8 @@ bool wxRadioButton::Create( wxWindow *parent, wxWindowID id, const wxString& lab
chief = (wxRadioButton*) child; chief = (wxRadioButton*) child;
if (child->HasFlag(wxRB_GROUP)) break; if (child->HasFlag(wxRB_GROUP)) break;
} }
node = node->GetPrevious();
}
if (chief) if (chief)
{ {
/* we are part of the group started by chief */ /* we are part of the group started by chief */
@ -103,8 +105,6 @@ bool wxRadioButton::Create( wxWindow *parent, wxWindowID id, const wxString& lab
/* start a new group */ /* start a new group */
m_radioButtonGroup = (GSList*) NULL; m_radioButtonGroup = (GSList*) NULL;
} }
node = node->GetPrevious();
}
} }
m_widget = gtk_radio_button_new_with_label( m_radioButtonGroup, label.mbc_str() ); m_widget = gtk_radio_button_new_with_label( m_radioButtonGroup, label.mbc_str() );

View File

@ -93,6 +93,8 @@ bool wxRadioButton::Create( wxWindow *parent, wxWindowID id, const wxString& lab
chief = (wxRadioButton*) child; chief = (wxRadioButton*) child;
if (child->HasFlag(wxRB_GROUP)) break; if (child->HasFlag(wxRB_GROUP)) break;
} }
node = node->GetPrevious();
}
if (chief) if (chief)
{ {
/* we are part of the group started by chief */ /* we are part of the group started by chief */
@ -103,8 +105,6 @@ bool wxRadioButton::Create( wxWindow *parent, wxWindowID id, const wxString& lab
/* start a new group */ /* start a new group */
m_radioButtonGroup = (GSList*) NULL; m_radioButtonGroup = (GSList*) NULL;
} }
node = node->GetPrevious();
}
} }
m_widget = gtk_radio_button_new_with_label( m_radioButtonGroup, label.mbc_str() ); m_widget = gtk_radio_button_new_with_label( m_radioButtonGroup, label.mbc_str() );

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.0
%define rel 7 %define rel 8
Summary: The GTK+ 1.2 port of the wxWindows library Summary: The GTK+ 1.2 port of the wxWindows library
Name: wxGTK Name: wxGTK

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.0
%define rel 7 %define rel 8
Summary: The Motif port of the wxWindows library Summary: The Motif port of the wxWindows library
Name: wxMotif Name: wxMotif

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.0
%define rel 7 %define rel 8
Summary: The WINE port of the wxWindows library Summary: The WINE port of the wxWindows library
Name: wxWINE Name: wxWINE