Latest OS/2 compiler bug fixes for common and generic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -106,6 +106,9 @@ public:
|
||||
virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=TRUE );
|
||||
virtual bool SaveFile( wxImage *image, wxOutputStream& stream, bool verbose=TRUE );
|
||||
virtual bool CanRead( wxInputStream& stream );
|
||||
private:
|
||||
// hiding base class virtuals again!
|
||||
inline bool CanRead( const wxString& name ) { return(wxImageHandler::CanRead(name)); };
|
||||
#endif
|
||||
};
|
||||
#endif
|
||||
@@ -133,6 +136,9 @@ public:
|
||||
virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=TRUE );
|
||||
virtual bool SaveFile( wxImage *image, wxOutputStream& stream, bool verbose=TRUE );
|
||||
virtual bool CanRead( wxInputStream& stream );
|
||||
private:
|
||||
// hiding base class virtuals again!
|
||||
inline bool CanRead( const wxString& name ) { return(wxImageHandler::CanRead(name)); };
|
||||
#endif
|
||||
};
|
||||
#endif
|
||||
@@ -158,6 +164,9 @@ public:
|
||||
#if wxUSE_STREAMS
|
||||
virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=TRUE );
|
||||
virtual bool CanRead( wxInputStream& stream );
|
||||
private:
|
||||
// hiding base class virtuals again!
|
||||
inline bool CanRead( const wxString& name ) { return(wxImageHandler::CanRead(name)); };
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -166,7 +175,6 @@ public:
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#if wxUSE_LIBGIF
|
||||
|
||||
class WXDLLEXPORT wxGIFHandler : public wxImageHandler
|
||||
{
|
||||
DECLARE_DYNAMIC_CLASS(wxGIFHandler)
|
||||
@@ -185,6 +193,9 @@ public:
|
||||
virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=TRUE );
|
||||
virtual bool SaveFile( wxImage *image, wxOutputStream& stream, bool verbose=TRUE );
|
||||
virtual bool CanRead( wxInputStream& stream );
|
||||
private:
|
||||
// hiding base class virtuals again!
|
||||
inline bool CanRead( const wxString& name ) { return(wxImageHandler::CanRead(name)); };
|
||||
#endif
|
||||
};
|
||||
#endif
|
||||
@@ -212,6 +223,9 @@ public:
|
||||
virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=TRUE );
|
||||
virtual bool SaveFile( wxImage *image, wxOutputStream& stream, bool verbose=TRUE );
|
||||
virtual bool CanRead( wxInputStream& stream );
|
||||
private:
|
||||
// hiding base class virtuals again!
|
||||
inline bool CanRead( const wxString& name ) { return(wxImageHandler::CanRead(name)); };
|
||||
#endif
|
||||
};
|
||||
#endif
|
||||
|
@@ -48,7 +48,7 @@ enum {
|
||||
wxSOCKET_INPUT_FLAG = GSOCK_INPUT_FLAG,
|
||||
wxSOCKET_OUTPUT_FLAG = GSOCK_OUTPUT_FLAG,
|
||||
wxSOCKET_CONNECTION_FLAG = GSOCK_CONNECTION_FLAG,
|
||||
wxSOCKET_LOST_FLAG = GSOCK_LOST_FLAG,
|
||||
wxSOCKET_LOST_FLAG = GSOCK_LOST_FLAG
|
||||
};
|
||||
|
||||
typedef GSocketEventFlags wxSocketEventFlags;
|
||||
|
@@ -1,4 +1,6 @@
|
||||
#if !defined(__VISAGECPP__)
|
||||
# pragma warning(disable:4001) /* non standard extension used: single line comment */
|
||||
#endif
|
||||
#include "wx/setup.h"
|
||||
#include <math.h>
|
||||
|
||||
|
@@ -78,7 +78,7 @@ static void LINKAGEMODE _PNG_stream_writer( png_structp png_ptr, png_bytep data,
|
||||
// from pngerror.c
|
||||
// so that the libpng doesn't send anything on stderr
|
||||
void
|
||||
png_silent_error(png_structp png_ptr, png_const_charp WXUNUSED(message))
|
||||
LINKAGEMODE png_silent_error(png_structp png_ptr, png_const_charp WXUNUSED(message))
|
||||
{
|
||||
#ifdef USE_FAR_KEYWORD
|
||||
{
|
||||
@@ -92,7 +92,7 @@ png_silent_error(png_structp png_ptr, png_const_charp WXUNUSED(message))
|
||||
}
|
||||
|
||||
void
|
||||
png_silent_warning(png_structp WXUNUSED(png_ptr), png_const_charp WXUNUSED(message))
|
||||
LINKAGEMODE png_silent_warning(png_structp WXUNUSED(png_ptr), png_const_charp WXUNUSED(message))
|
||||
{
|
||||
}
|
||||
|
||||
|
@@ -4,7 +4,9 @@
|
||||
Read unzip.h for more info
|
||||
*/
|
||||
|
||||
#if !defined(__VISAGECPP__)
|
||||
# pragma warning(disable:4001) /* non standard extension used: single line comment */
|
||||
#endif
|
||||
#include "wx/setup.h"
|
||||
|
||||
#if wxUSE_ZLIB && wxUSE_ZIPSTREAM
|
||||
|
@@ -1840,7 +1840,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxPropertyModule,wxModule)
|
||||
|
||||
bool wxPropertyModule::OnInit()
|
||||
{
|
||||
#ifdef __WXMSW__
|
||||
#if defined(__WXMSW__) || defined(__WXOS2__)
|
||||
gs_tickBitmap = new wxBitmap("tick_bmp", wxBITMAP_TYPE_RESOURCE);
|
||||
gs_crossBitmap = new wxBitmap("cross_bmp", wxBITMAP_TYPE_RESOURCE);
|
||||
#else
|
||||
|
Reference in New Issue
Block a user