Distrib things,
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
This commit is contained in:
@@ -177,7 +177,7 @@ public: \
|
||||
{ \
|
||||
size_t type = sizeof(T); \
|
||||
size_t sizelong = sizeof(long); \
|
||||
if ( type <= sizelong ) \
|
||||
if ( type > sizelong ) \
|
||||
{ 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); \
|
||||
if ( type <= sizelong ) \
|
||||
if ( type > sizelong ) \
|
||||
{ wxFAIL_MSG( _T("illegal use of DEFINE_ARRAY") ); } \
|
||||
m_fnCompare = fn; \
|
||||
} \
|
||||
|
@@ -8,12 +8,14 @@
|
||||
#ifndef __GSOCKET_H
|
||||
#define __GSOCKET_H
|
||||
|
||||
#include "wx/setup.h"
|
||||
|
||||
#if wxUSE_SOCKETS
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
#if !defined(__cplusplus)
|
||||
|
||||
typedef int bool;
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef TRUE
|
||||
@@ -230,7 +232,11 @@ void GSocket_DoEvent(unsigned long evt_id);
|
||||
|
||||
#ifdef __cplusplus
|
||||
};
|
||||
#endif
|
||||
#endif /* __cplusplus */
|
||||
|
||||
|
||||
#endif
|
||||
/* __GSOCKET_H */
|
||||
/* wxUSE_SOCKETS */
|
||||
|
||||
#endif
|
||||
/* __GSOCKET_H */
|
||||
|
@@ -12,6 +12,11 @@
|
||||
#ifndef _WX_SPINBUTT_H_BASE_
|
||||
#define _WX_SPINBUTT_H_BASE_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#pragma interface "spinbutbase.h"
|
||||
#pragma implementation "spinbutbase.h"
|
||||
#endif
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// headers
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user