]> git.saurik.com Git - wxWidgets.git/commitdiff
Distrib things,
authorRobert Roebling <robert@roebling.de>
Fri, 6 Aug 1999 10:10:10 +0000 (10:10 +0000)
committerRobert Roebling <robert@roebling.de>
Fri, 6 Aug 1999 10:10:10 +0000 (10:10 +0000)
  Typos in dynarray.h,
  Removed C++ comments from code,
  Added a few #ifdef wxUSE_XXX

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/gtk/changes.txt
docs/html/news.htm
include/wx/dynarray.h
include/wx/gsocket.h
include/wx/spinbutt.h
src/gtk/gsockgtk.c
src/gtk1/gsockgtk.c
src/unix/gsocket.c
src/unix/gsockunx.h

index 9212a4d8d3168c25f74409c7ae24b3b04868bc5e..85946c0d92b0eb53b529ab1f884aa2b617436602 100644 (file)
@@ -1,5 +1,5 @@
 
 
-29th July '99: Eight wxGTK 2.1 snapshot released
+6th August '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.
 
 The new makefile system is not able to produce shared libraries 
 on Unix with the exception of Linux - libtool is really great.
@@ -36,10 +36,12 @@ wxFilesystem, wxHTMLHelpController and others.
 
 Added a wrapper for ffile() etc functions.
 
 
 Added a wrapper for ffile() etc functions.
 
-Updateds to wxDynamicLibrary.
+Updates to wxDynamicLibrary.
 
 New documentation.
 
 
 New documentation.
 
+New version of wxPython, of course.
+
 Fixed in unenclosed number of other bugs...
 
 25th June '99: Seventh wxGTK 2.1 snapshot released
 Fixed in unenclosed number of other bugs...
 
 25th June '99: Seventh wxGTK 2.1 snapshot released
index 49e1aa47dbad0eb579164350f04887cd27a32aca..a085388f3de073934fca0ee4aa40c149f5f9ee59 100644 (file)
@@ -18,9 +18,34 @@ News
 </tr>
 </table>
 
 </tr>
 </table>
 
+<H3>August 6th, 1999</H3><P>
+
+Today, a snapshot release of the MSW and the GTK ports has been
+made. The two snapshots are synchronized and have been tested
+for several weeks and should thus be considered to be quite stable.
+
+Among the many new features that have appeared since version 2.0
+was release are:
+
+<ul>
+<li> A great number of incompatiblities between the GTK and the MSW port have been removed. This
+holds escecially true for the way, time and order, controls send notifications to the user program.
+<li> Practically all widgets have been updated, removing bugs or adding missing features to
+specific ports (mostly the GTK port).
+<li> The GTK port now supports GTK version 1.2 as well as 1.0, giving access to the many new
+features, such as e.g. menu accelerators.
+<li> Many of the non-GUI classes have been reworked and new ones added, the stream classes
+having undergone a complete rewrite.
+<li> The addition of code to handle Unicode has begun and is in an advanced state.
+<li> The Python bindings (wxPython) have been largely improved and upadted to the newest
+API and features.
+</ul>
+
+
+
 <H3>July 31st, 1999</H3><P>
 
 <H3>July 31st, 1999</H3><P>
 
-We are glad to announce the start of the work on the new wxWindows port - wxBe
+We are glad to announce the start of the work on the new wxWindows port - wxBeOS
 which will implement wxWindows 2 API for <A HREF="http://www.be.com">BeOS</A>.
 Thanks to Be for donating licenses to wxWindows project to make it possible.
 <P>
 which will implement wxWindows 2 API for <A HREF="http://www.be.com">BeOS</A>.
 Thanks to Be for donating licenses to wxWindows project to make it possible.
 <P>
index 34aaff0a2bf25abc6bcae7c286c52d3a9f6a8990..caf4b814d1e2241ee043022b7e205381c11e912a 100644 (file)
@@ -177,7 +177,7 @@ public:                                                             \
   {                                                                 \
     size_t type = sizeof(T);                                        \
     size_t sizelong = sizeof(long);                                 \
   {                                                                 \
     size_t type = sizeof(T);                                        \
     size_t sizelong = sizeof(long);                                 \
-    if ( type <= sizelong )                                         \
+    if ( type > sizelong )                                          \
       { wxFAIL_MSG( _T("illegal use of DEFINE_ARRAY") ); }          \
   }                                                                 \
                                                                     \
       { wxFAIL_MSG( _T("illegal use of DEFINE_ARRAY") ); }          \
   }                                                                 \
                                                                     \
@@ -239,7 +239,7 @@ public:                                                             \
   name(SCMPFUNC##T fn)                                              \
   { size_t type = sizeof(T);                                        \
     size_t sizelong = sizeof(long);                                 \
   name(SCMPFUNC##T fn)                                              \
   { size_t type = sizeof(T);                                        \
     size_t sizelong = sizeof(long);                                 \
-    if ( type <= sizelong )                                         \
+    if ( type > sizelong )                                          \
       { wxFAIL_MSG( _T("illegal use of DEFINE_ARRAY") ); }          \
     m_fnCompare = fn;                                               \
   }                                                                 \
       { wxFAIL_MSG( _T("illegal use of DEFINE_ARRAY") ); }          \
     m_fnCompare = fn;                                               \
   }                                                                 \
index 6f606332a928d04128be525fa5ffdb977c8918c6..7190696fd081ba9b4b623d10e0005f51853533fe 100644 (file)
@@ -8,12 +8,14 @@
 #ifndef __GSOCKET_H
 #define __GSOCKET_H
 
 #ifndef __GSOCKET_H
 #define __GSOCKET_H
 
+#include "wx/setup.h"
+
+#if wxUSE_SOCKETS
+
 #include <sys/types.h>
 
 #if !defined(__cplusplus)
 #include <sys/types.h>
 
 #if !defined(__cplusplus)
-
 typedef int bool;
 typedef int bool;
-
 #endif
 
 #ifndef TRUE
 #endif
 
 #ifndef TRUE
@@ -230,7 +232,11 @@ void GSocket_DoEvent(unsigned long evt_id);
 
 #ifdef __cplusplus
 };
 
 #ifdef __cplusplus
 };
+#endif /* __cplusplus */
+
+
 #endif
 #endif
+    /* wxUSE_SOCKETS */
 
 #endif
 
 #endif
- /* __GSOCKET_H */
   /* __GSOCKET_H */
index f28d46ce624a99e2e5bb5ec980c37c1eec55e76d..02f38a74b08cd1d2b0c1c11bf9e822ac86b81ca1 100644 (file)
 #ifndef _WX_SPINBUTT_H_BASE_
 #define _WX_SPINBUTT_H_BASE_
 
 #ifndef _WX_SPINBUTT_H_BASE_
 #define _WX_SPINBUTT_H_BASE_
 
+#ifdef __GNUG__
+#pragma interface "spinbutbase.h"
+#pragma implementation "spinbutbase.h"
+#endif
+
 // ----------------------------------------------------------------------------
 // headers
 // ----------------------------------------------------------------------------
 // ----------------------------------------------------------------------------
 // headers
 // ----------------------------------------------------------------------------
index e462a6aecea7c2acd872ba186e5dbea2a8e65f1a..006a04fbf03c3a9966dbbd4e3c70e3ef7e04b0ab 100644 (file)
@@ -10,9 +10,9 @@
 #if wxUSE_SOCKETS
 
 #include <stdlib.h>
 #if wxUSE_SOCKETS
 
 #include <stdlib.h>
-#include <gdk/gdk.h>
-#include <glib.h>
-#include <wx/gsocket.h>
+#include "gdk/gdk.h"
+#include "glib.h"
+#include "wx/gsocket.h"
 #include "../unix/gsockunx.h"
 
 void _GSocket_GDK_Input(gpointer data, gint source, GdkInputCondition condition)
 #include "../unix/gsockunx.h"
 
 void _GSocket_GDK_Input(gpointer data, gint source, GdkInputCondition condition)
index e462a6aecea7c2acd872ba186e5dbea2a8e65f1a..006a04fbf03c3a9966dbbd4e3c70e3ef7e04b0ab 100644 (file)
@@ -10,9 +10,9 @@
 #if wxUSE_SOCKETS
 
 #include <stdlib.h>
 #if wxUSE_SOCKETS
 
 #include <stdlib.h>
-#include <gdk/gdk.h>
-#include <glib.h>
-#include <wx/gsocket.h>
+#include "gdk/gdk.h"
+#include "glib.h"
+#include "wx/gsocket.h"
 #include "../unix/gsockunx.h"
 
 void _GSocket_GDK_Input(gpointer data, gint source, GdkInputCondition condition)
 #include "../unix/gsockunx.h"
 
 void _GSocket_GDK_Input(gpointer data, gint source, GdkInputCondition condition)
index 622f5e0681100e794873d7d09ee8167516408703..4255501bd806577b3553d75b0825f4b3a48490e3 100644 (file)
@@ -101,7 +101,7 @@ GSocket *GSocket_new()
   socket->m_gui_dependent      = NULL;
   socket->m_blocking           = FALSE;
   socket->m_timeout             = 10*60*1000;
   socket->m_gui_dependent      = NULL;
   socket->m_blocking           = FALSE;
   socket->m_timeout             = 10*60*1000;
-                                      // 10 minutes * 60 sec * 1000 millisec
+                                      /* 10 minutes * 60 sec * 1000 millisec */
 
   /* We initialize the GUI specific entries here */
   _GSocket_GUI_Init(socket);
 
   /* We initialize the GUI specific entries here */
   _GSocket_GUI_Init(socket);
@@ -1150,4 +1150,5 @@ GSocketError GAddress_UNIX_GetPath(GAddress *address, char *path, size_t sbuf)
   return GSOCK_NOERROR;
 }
 
   return GSOCK_NOERROR;
 }
 
-#endif // wxUSE_SOCKETS
+#endif
+  /* wxUSE_SOCKETS */
index 75a70ceee94cb624876b32ab37817540929dd740..7c0ce9a5a9e1b7d44a7a6aac696b3ff7da1159cc 100644 (file)
@@ -8,7 +8,16 @@
 #ifndef __GSOCK_UNX_H
 #define __GSOCK_UNX_H
 
 #ifndef __GSOCK_UNX_H
 #define __GSOCK_UNX_H
 
-#include <wx/gsocket.h>
+#include "wx/setup.h"
+
+#if wxUSE_SOCKETS
+
+#include "wx/gsocket.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
 
 /* Definition of GSocket */
 struct _GSocket {
 
 /* Definition of GSocket */
 struct _GSocket {
@@ -66,4 +75,12 @@ GSocketError _GAddress_Init_INET(GAddress *address);
 /* Local address family */
 GSocketError _GAddress_Init_UNIX(GAddress *address);
 
 /* Local address family */
 GSocketError _GAddress_Init_UNIX(GAddress *address);
 
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif
+    /* wxUSE_SOCKETS */
+
 #endif
 #endif
+    /* __GSOCK_UNX_H */