Added geometry.cpp and made it compile,

Added empty dndcmn.cpp to avoid GNU link warnings,
  Fixed problem with event.Skip() in new tab code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2000-01-24 13:13:41 +00:00
parent 6b82d89473
commit 510fc784c0
17 changed files with 115 additions and 43 deletions

View File

@@ -1,5 +1,5 @@
# #
# This file was automatically generated by tmake at 17:45, 2000/01/23 # This file was automatically generated by tmake at 13:39, 2000/01/24
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE UNX.T! # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE UNX.T!
# #
@@ -823,6 +823,7 @@ GTK_COMMONOBJS = \
dbtable.o \ dbtable.o \
dcbase.o \ dcbase.o \
dlgcmn.o \ dlgcmn.o \
dndcmn.o \
dobjcmn.o \ dobjcmn.o \
docmdi.o \ docmdi.o \
docview.o \ docview.o \
@@ -843,6 +844,7 @@ GTK_COMMONOBJS = \
fs_zip.o \ fs_zip.o \
ftp.o \ ftp.o \
gdicmn.o \ gdicmn.o \
geometry.o \
gifdecod.o \ gifdecod.o \
hash.o \ hash.o \
helpbase.o \ helpbase.o \
@@ -921,6 +923,7 @@ GTK_COMMONDEPS = \
dbtable.d \ dbtable.d \
dcbase.d \ dcbase.d \
dlgcmn.d \ dlgcmn.d \
dndcmn.d \
dobjcmn.d \ dobjcmn.d \
docmdi.d \ docmdi.d \
docview.d \ docview.d \
@@ -941,6 +944,7 @@ GTK_COMMONDEPS = \
fs_zip.d \ fs_zip.d \
ftp.d \ ftp.d \
gdicmn.d \ gdicmn.d \
geometry.d \
gifdecod.d \ gifdecod.d \
hash.d \ hash.d \
helpbase.d \ helpbase.d \
@@ -1221,6 +1225,7 @@ MOTIF_COMMONOBJS = \
dbtable.o \ dbtable.o \
dcbase.o \ dcbase.o \
dlgcmn.o \ dlgcmn.o \
dndcmn.o \
dobjcmn.o \ dobjcmn.o \
docmdi.o \ docmdi.o \
docview.o \ docview.o \
@@ -1241,6 +1246,7 @@ MOTIF_COMMONOBJS = \
fs_zip.o \ fs_zip.o \
ftp.o \ ftp.o \
gdicmn.o \ gdicmn.o \
geometry.o \
gifdecod.o \ gifdecod.o \
hash.o \ hash.o \
helpbase.o \ helpbase.o \
@@ -1319,6 +1325,7 @@ MOTIF_COMMONDEPS = \
dbtable.d \ dbtable.d \
dcbase.d \ dcbase.d \
dlgcmn.d \ dlgcmn.d \
dndcmn.d \
dobjcmn.d \ dobjcmn.d \
docmdi.d \ docmdi.d \
docview.d \ docview.d \
@@ -1339,6 +1346,7 @@ MOTIF_COMMONDEPS = \
fs_zip.d \ fs_zip.d \
ftp.d \ ftp.d \
gdicmn.d \ gdicmn.d \
geometry.d \
gifdecod.d \ gifdecod.d \
hash.d \ hash.d \
helpbase.d \ helpbase.d \
@@ -1575,6 +1583,7 @@ MSW_COMMONOBJS = \
dbtable.o \ dbtable.o \
dcbase.o \ dcbase.o \
dlgcmn.o \ dlgcmn.o \
dndcmn.o \
dobjcmn.o \ dobjcmn.o \
docmdi.o \ docmdi.o \
docview.o \ docview.o \
@@ -1595,6 +1604,7 @@ MSW_COMMONOBJS = \
fs_zip.o \ fs_zip.o \
ftp.o \ ftp.o \
gdicmn.o \ gdicmn.o \
geometry.o \
gifdecod.o \ gifdecod.o \
hash.o \ hash.o \
helpbase.o \ helpbase.o \
@@ -1674,6 +1684,7 @@ MSW_COMMONDEPS = \
dbtable.d \ dbtable.d \
dcbase.d \ dcbase.d \
dlgcmn.d \ dlgcmn.d \
dndcmn.d \
dobjcmn.d \ dobjcmn.d \
docmdi.d \ docmdi.d \
docview.d \ docview.d \
@@ -1694,6 +1705,7 @@ MSW_COMMONDEPS = \
fs_zip.d \ fs_zip.d \
ftp.d \ ftp.d \
gdicmn.d \ gdicmn.d \
geometry.d \
gifdecod.d \ gifdecod.d \
hash.d \ hash.d \
helpbase.d \ helpbase.d \
@@ -2031,6 +2043,7 @@ PM_COMMONOBJS = \
dbtable.o \ dbtable.o \
dcbase.o \ dcbase.o \
dlgcmn.o \ dlgcmn.o \
dndcmn.o \
dobjcmn.o \ dobjcmn.o \
docmdi.o \ docmdi.o \
docview.o \ docview.o \
@@ -2051,6 +2064,7 @@ PM_COMMONOBJS = \
fs_zip.o \ fs_zip.o \
ftp.o \ ftp.o \
gdicmn.o \ gdicmn.o \
geometry.o \
gifdecod.o \ gifdecod.o \
hash.o \ hash.o \
helpbase.o \ helpbase.o \
@@ -2130,6 +2144,7 @@ PM_COMMONDEPS = \
dbtable.d \ dbtable.d \
dcbase.d \ dcbase.d \
dlgcmn.d \ dlgcmn.d \
dndcmn.d \
dobjcmn.d \ dobjcmn.d \
docmdi.d \ docmdi.d \
docview.d \ docview.d \
@@ -2150,6 +2165,7 @@ PM_COMMONDEPS = \
fs_zip.d \ fs_zip.d \
ftp.d \ ftp.d \
gdicmn.d \ gdicmn.d \
geometry.d \
gifdecod.d \ gifdecod.d \
hash.d \ hash.d \
helpbase.d \ helpbase.d \

View File

@@ -115,6 +115,7 @@ dbtable.cpp C
dcbase.cpp C dcbase.cpp C
dlgcmn.cpp C dlgcmn.cpp C
dobjcmn.cpp C dobjcmn.cpp C
dndcmn.cpp C
docmdi.cpp C docmdi.cpp C
docview.cpp C docview.cpp C
dynarray.cpp C B dynarray.cpp C B
@@ -134,6 +135,7 @@ fs_inet.cpp C
fs_zip.cpp C fs_zip.cpp C
ftp.cpp C S ftp.cpp C S
gdicmn.cpp C gdicmn.cpp C
geometry.cpp C
gifdecod.cpp C gifdecod.cpp C
hash.cpp C B hash.cpp C B
helpbase.cpp C helpbase.cpp C

View File

@@ -1,17 +1,25 @@
24th January '2000: wxWindows 2.1.13 released 24th January '2000: wxWindows 2.1.13 released
Corrections to TAB handling in notebooks.
Added scroll event to indicate when the thumb has
been released (as opposed to only changed).
Fixed crashes with GTK Pixmap theme. Fixed crashes with GTK Pixmap theme.
Fixed endianness problems in image code. Fixed endianness problems in image code.
Minor fixes for sockets related to GUI reentrance and others. Minor fixes for sockets related to GUI reentrance. Also
improved the IPV address class and added more error
checking and rekated things.
Many enhancements to wxHTML, more tags supported, better support Many enhancements to wxHTML, more tags supported, better support
for non-English texts etc. for non-western texts etc.
Corrected code handling mono-bitmaps and their conversion to Corrected code handling mono-bitmaps and their conversion to
wxImage etc. wxImage etc. Added experimental ConvertToMonoBitmap() to
wxImage class.
Fixed a few minor problems in wxListCtrl. Fixed a few minor problems in wxListCtrl.
@@ -19,7 +27,7 @@ The MIME-type code in now reads KDE and GNOME mime-type bindings
including icon information. This is used in the file dialog. including icon information. This is used in the file dialog.
Small fix for problems with code that didn't changed the size of a Small fix for problems with code that didn't changed the size of a
window, but not its client size. window, but its client size and thus sent no wxSizeEvent.
Fixed problem with shared contexts in OpenGl canvas. Fixed problem with shared contexts in OpenGl canvas.
@@ -34,6 +42,8 @@ Revamped code for TCP based connections between programs.
Updates to the ODBC classes (George Tasker). Updates to the ODBC classes (George Tasker).
Build-fixes for various platforms and compilers.
6th January '2000: wxWindows 2.1.12 released 6th January '2000: wxWindows 2.1.12 released
Who has a BigEndian computer (e.g. Sparc or PowerPC) that runs a 15 Who has a BigEndian computer (e.g. Sparc or PowerPC) that runs a 15

View File

@@ -151,7 +151,7 @@ START-UP! Just always use egcs and be happy.
Please send comments and question about the OS/2 installation Please send comments and question about the OS/2 installation
to Andrea Venturoli <a.ventu@flashnet.it> and patches to to Andrea Venturoli <a.ventu@flashnet.it> and patches to
make to me (Robert Roebling) or the wxWindows mailing list. the wxWindows mailing list.
You'll need OS/2 Warp (4.00FP#6), X-Free86/2 (3.3.3 or newer), You'll need OS/2 Warp (4.00FP#6), X-Free86/2 (3.3.3 or newer),
GTK+ (1.2.1 or newer), emx (0.9d fix 1), flex (2.5.4), yacc (1.8), GTK+ (1.2.1 or newer), emx (0.9d fix 1), flex (2.5.4), yacc (1.8),
@@ -420,6 +420,5 @@ and configure before you can type make.
In the hope that it will be useful, In the hope that it will be useful,
Robert Roebling <roebling@sun2.ruf.uni-freiburg.de> Robert Roebling

View File

@@ -1,22 +1,19 @@
Welcome to wxWindows/Gtk 2.1.13 Welcome to wxWindows/Gtk 2.1.13
you have downloaded version 2.1 of the GTK+ 1.2 port of you have downloaded a beta version of the GTK+ 1.2 port of
the wxWindows GUI library. Although this is not yet the the wxWindows GUI library. Although this is not yet the
final stable release wxGTK 2.2, the current version has final stable release wxGTK 2.2, the current version has
been tested carefully on many systems and has been found been tested carefully on many systems and has been found
to work better than any other previous version. to work better than any other previous version.
Nonetheless, beware that major changes can happen before Nonetheless, beware that minor changes can happen before
a final release. a final release.
wxWindows no longer supports GTK 1.0 (as did some early wxWindows no longer supports GTK 1.0 (as did some early
snapshots) so that you will need GTK 1.2 when using it. snapshots) so that you will need GTK 1.2 when using it.
GTK 1.2.6 is recommended although many programs will work
Beginning with snapshot 9, wxWindows uses a completely with GTK 1.2.3 onwards.
new make file system on Unix which no longer uses the
various GNU tools and I hope that I'll never again have
to write any more makefiles.
More information is available from my homepage at: More information is available from my homepage at:
@@ -56,6 +53,8 @@ Please send problems concerning installation, feature requests,
bug reports or comments to the wxWindows users list. Information bug reports or comments to the wxWindows users list. Information
on how to subscribe is available from my homepage. on how to subscribe is available from my homepage.
Do NOT send any comments directly to me.
wxWindows/Gtk doesn't come with any guarantee whatsoever. It wxWindows/Gtk doesn't come with any guarantee whatsoever. It
might crash your harddisk or destroy your monitor. It doesn't might crash your harddisk or destroy your monitor. It doesn't
claim to be suitable for any special or general purpose. claim to be suitable for any special or general purpose.

View File

@@ -1,7 +1,7 @@
-------------------- High priority --------------------- -------------------- High priority ---------------------
More testing of Unicode support. Finish and extend wxPlotWindow.
Improve, update translations. Install *.mo files somewehere. Improve, update translations. Install *.mo files somewehere.
@@ -14,14 +14,17 @@ Show accelerator control labels and actually implement them
Right aligned checkboxes: focus highlighting is wrong, tooltips can't be set can't be set Right aligned checkboxes: focus highlighting is wrong, tooltips can't be set can't be set
OwnerDraw for wxListCtrl and others More testing of Unicode support.
-> Postponed. -> Postponed.
OwnerDraw for wxListCtrl and others
-> Hardly necessary.
Implement wxPalette Implement wxPalette
-> I never understood that. Postponed. -> Postponed.
Implement different visuals and displays Implement different visuals and displays
-> I never understood that. Postponed. -> I cannot test this. Postponed.
Cooperation with Qt Cooperation with Qt
-> Would be nice. -> Would be nice.

View File

@@ -12,6 +12,10 @@
#ifndef _WX_DND_H_BASE_ #ifndef _WX_DND_H_BASE_
#define _WX_DND_H_BASE_ #define _WX_DND_H_BASE_
#ifdef __GNUG__
#pragma interface "dndbase.h"
#endif
#include "wx/defs.h" #include "wx/defs.h"
#if wxUSE_DRAG_AND_DROP #if wxUSE_DRAG_AND_DROP

View File

@@ -16,6 +16,11 @@
#pragma interface "geometry.h" #pragma interface "geometry.h"
#endif #endif
#include "wx/defs.h"
#include "wx/utils.h"
#include "wx/gdicmn.h"
#include <math.h>
#ifdef __WXMSW__ #ifdef __WXMSW__
#define wxMulDivInt32( a , b , c ) ::MulDiv( a , b , c ) #define wxMulDivInt32( a , b , c ) ::MulDiv( a , b , c )
#elif defined( __WXMAC__ ) #elif defined( __WXMAC__ )
@@ -411,8 +416,8 @@ wxPoint2DInt operator/(const wxPoint2DInt& pt , wxInt32 n) ;
inline wxPoint2DInt::wxPoint2DInt() inline wxPoint2DInt::wxPoint2DInt()
{ {
m_x = 0.0 ; m_x = 0 ;
m_y = 0.0 ; m_y = 0 ;
} }
inline wxPoint2DInt::wxPoint2DInt( wxInt32 x , wxInt32 y ) inline wxPoint2DInt::wxPoint2DInt( wxInt32 x , wxInt32 y )
@@ -453,8 +458,8 @@ inline wxDouble wxPoint2DInt::GetVectorLength()
inline void wxPoint2DInt::SetVectorLength( wxDouble length ) inline void wxPoint2DInt::SetVectorLength( wxDouble length )
{ {
wxDouble before = GetVectorLength() ; wxDouble before = GetVectorLength() ;
m_x *= length / before ; m_x = (wxInt32)(m_x * length / before) ;
m_y *= length / before ; m_y = (wxInt32)(m_y * length / before) ;
} }
inline void wxPoint2DInt::SetPolarCoordinates( wxInt32 angle , wxInt32 length ) ; inline void wxPoint2DInt::SetPolarCoordinates( wxInt32 angle , wxInt32 length ) ;

View File

@@ -12,6 +12,10 @@
#ifndef _WX_LISTCTRL_H_BASE_ #ifndef _WX_LISTCTRL_H_BASE_
#define _WX_LISTCTRL_H_BASE_ #define _WX_LISTCTRL_H_BASE_
#ifdef __GNUG__
#pragma interface "listctrlbase.h"
#endif
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// types // types
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------

View File

@@ -14,7 +14,6 @@
#ifdef __GNUG__ #ifdef __GNUG__
#pragma interface "spinbutbase.h" #pragma interface "spinbutbase.h"
#pragma implementation "spinbutbase.h"
#endif #endif
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------

27
src/common/dndcmn.cpp Normal file
View File

@@ -0,0 +1,27 @@
///////////////////////////////////////////////////////////////////////////////
// Name: common/dndcmn.cpp
// Author: Robert Roebling
// Modified by:
// Created: 19.10.99
// RCS-ID: $Id$
// Copyright: (c) wxWindows Team
// Licence: wxWindows license
///////////////////////////////////////////////////////////////////////////////
// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
#ifdef __GNUG__
#pragma implementation "dndbase.h"
#endif
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
#endif
#include "wx/dnd.h"
// Not much to do here, really, but GNU need this file.

View File

@@ -9,6 +9,7 @@
#ifdef __GNUG__ #ifdef __GNUG__
#pragma implementation "listctrl.h" #pragma implementation "listctrl.h"
#pragma implementation "listctrlbase.h"
#endif #endif
// For compilers that support precompilation, includes "wx.h". // For compilers that support precompilation, includes "wx.h".

View File

@@ -274,6 +274,7 @@ void wxPanel::OnNavigationKey( wxNavigationKeyEvent& event )
} }
//else: the child manages its focus itself //else: the child manages its focus itself
event.Skip( FALSE );
return; return;
} }

View File

@@ -10,6 +10,7 @@
#ifdef __GNUG__ #ifdef __GNUG__
#pragma implementation "spinbutt.h" #pragma implementation "spinbutt.h"
#pragma implementation "spinbutbase.h"
#endif #endif
#include "wx/spinbutt.h" #include "wx/spinbutt.h"

View File

@@ -10,6 +10,7 @@
#ifdef __GNUG__ #ifdef __GNUG__
#pragma implementation "spinbutt.h" #pragma implementation "spinbutt.h"
#pragma implementation "spinbutbase.h"
#endif #endif
#include "wx/spinbutt.h" #include "wx/spinbutt.h"