/////////////////////////////////////////////////////////////////////////////
-// Name: image.h
+// Name: wx/image.h
// Purpose: wxImage class
// Author: Robert Roebling
// RCS-ID: $Id$
#define _WX_IMAGE_H_
#include "wx/defs.h"
+
+#if wxUSE_IMAGE
+
#include "wx/object.h"
#include "wx/string.h"
#include "wx/gdicmn.h"
# include "wx/stream.h"
#endif
-#if wxUSE_IMAGE
-
// on some systems (Unixware 7.x) index is defined as a macro in the headers
// which breaks the compilation below
#undef index
#endif
// _WX_IMAGE_H_
-
#include "wx/gdiobj.h"
#include "wx/region.h"
#include "wx/bitmap.h"
+#include "wx/image.h"
#include "wx/colour.h"
#include "wx/font.h"
#include "wx/dc.h"
#if wxUSE_AUI
-#include "wx/image.h"
#include "wx/aui/framemanager.h"
#include "wx/aui/dockart.h"
#ifndef WX_PRECOMP
#include "wx/settings.h"
#include "wx/dcclient.h"
+ #include "wx/image.h"
#endif
#ifdef __WXMAC__
#include "wx/dcscreen.h"
#include "wx/toolbar.h"
#include "wx/mdi.h"
+ #include "wx/image.h"
#endif
-//#include "wx/dcbuffer.h"
-
-#include "wx/image.h"
-
WX_CHECK_BUILD_OPTIONS("wxAUI")
#include "wx/arrimpl.cpp"
#include "wx/palette.h"
#include "wx/icon.h"
#include "wx/colour.h"
+ #include "wx/image.h"
#endif //WX_PRECOMP
-#include "wx/image.h"
#include "wx/xpmdecod.h"
#include "wx/rawbmp.h"
#include "wx/list.h"
#include "wx/log.h"
#include "wx/hashmap.h"
+ #include "wx/image.h"
#endif
#include "wx/artprov.h"
#include "wx/module.h"
-#if wxUSE_IMAGE
- #include "wx/image.h"
-#endif
-
// ===========================================================================
// implementation
// ===========================================================================
/////////////////////////////////////////////////////////////////////////////
-// Name: artstd.cpp
+// Name: src/common/artstd.cpp
// Purpose: stock wxArtProvider instance with default wxWin art
// Author: Vaclav Slavik
// Modified by:
#pragma hdrstop
#endif
+#ifndef WX_PRECOMP
+ #include "wx/image.h"
+#endif
+
#include "wx/artprov.h"
-#include "wx/image.h"
// ----------------------------------------------------------------------------
// wxDefaultArtProvider
#include "wx/utils.h"
#include "wx/palette.h"
#include "wx/icon.h"
+ #include "wx/image.h"
#endif // WX_PRECOMP
-#include "wx/image.h"
#include "wx/module.h"
IMPLEMENT_ABSTRACT_CLASS(wxBitmapBase, wxGDIObject)
#include "wx/hash.h"
#if wxUSE_GUI
#include "wx/bitmap.h"
+ #include "wx/image.h"
#endif // wxUSE_GUI
#endif
-#if wxUSE_GUI
- #include "wx/image.h"
-#endif // wxUSE_GUI
-
#include "wx/mstream.h"
class MemFSHashObj : public wxObject
#include "wx/log.h"
#include "wx/intl.h"
#include "wx/bitmap.h"
-#endif
-
-#if wxUSE_IMAGE && !defined(_WX_IMAGE_H_)
#include "wx/image.h"
#endif
#include "wx/wxprec.h"
#ifdef __BORLANDC__
-#pragma hdrstop
+ #pragma hdrstop
#endif
+#if wxUSE_IMAGE
+
#ifndef WX_PRECOMP
+ #include "wx/image.h"
#endif
-#include "wx/image.h"
-
-#if wxUSE_IMAGE
-
//-----------------------------------------------------------------------------
// This function allows dynamic access to all image handlers compile within
// the library. This function should be in a separate file as some compilers
#include "wx/brush.h"
#include "wx/dc.h"
#include "wx/dcmemory.h"
+ #include "wx/image.h"
#endif
-#include "wx/image.h"
-
// DoFloodFill
// Fills with the colour extracted from fillBrush, starting at x,y until either
// a color different from the start pixel is reached (wxFLOOD_SURFACE)
#ifndef WX_PRECOMP
#include "wx/palette.h"
+ #include "wx/image.h"
#endif
-#include "wx/image.h"
-
#ifdef __WXMSW__
-#include "wx/msw/private.h"
+ #include "wx/msw/private.h"
#endif
#include <stdlib.h>
#ifndef WX_PRECOMP
#include "wx/dcmemory.h"
#include "wx/bitmap.h"
-#endif //WX_PRECOMP
-
-#if wxUSE_IMAGE
#include "wx/image.h"
-#endif
-
+#endif //WX_PRECOMP
wxBitmap wxRegion::ConvertToBitmap() const
#include "wx/control.h"
#include "wx/frame.h"
#include "wx/settings.h"
-#endif
-
-#if wxUSE_IMAGE
#include "wx/image.h"
-#endif // wxUSE_IMAGE
+#endif
// ----------------------------------------------------------------------------
// wxWidgets macros
#if wxUSE_STREAMS
#include "wx/stream.h"
#endif
+ #include "wx/image.h"
#endif
-#include "wx/image.h"
#include <string.h>
#include <ctype.h>
#include "wx/frame.h"
#include "wx/dcclient.h"
#include "wx/settings.h"
+ #include "wx/image.h"
#endif
-#include "wx/image.h"
-
// ----------------------------------------------------------------------------
// wxButtonToolBarTool: our implementation of wxToolBarToolBase
// ----------------------------------------------------------------------------
#include "wx/utils.h"
#include "wx/dcmemory.h"
#include "wx/math.h"
+ #include "wx/image.h"
#endif // WX_PRECOMP
-#include "wx/image.h"
#include "wx/prntbase.h"
#include "wx/generic/prntdlgg.h"
#include "wx/paper.h"
#include "wx/sizer.h"
#include "wx/textdlg.h"
#include "wx/gdicmn.h"
+ #include "wx/image.h"
#endif
#include "wx/module.h"
#include "wx/dir.h"
#include "wx/artprov.h"
#include "wx/mimetype.h"
-#include "wx/image.h"
#if wxUSE_STATLINE
#include "wx/statline.h"
wxString path, name;
path.Printf(wxT("%c:\\"), driveBuffer[i]);
name.Printf(wxT("%c:"), driveBuffer[i]);
-
+
// Do not use GetVolumeInformation to further decorate the
// name, since it can cause severe delays on network drives.
#include "wx/settings.h"
#include "wx/intl.h"
#include "wx/log.h"
+ #include "wx/image.h"
#endif
#define wxUSE_IMAGE_IN_DRAGIMAGE 1
-#if wxUSE_IMAGE_IN_DRAGIMAGE
-#include "wx/image.h"
-#endif
-
#include "wx/generic/dragimgg.h"
// ----------------------------------------------------------------------------
#ifndef WX_PRECOMP
#include "wx/dc.h"
#include "wx/icon.h"
+ #include "wx/image.h"
#endif
-#include "wx/image.h"
-
//-----------------------------------------------------------------------------
// wxImageList
//-----------------------------------------------------------------------------
#include "wx/memory.h"
#include "wx/font.h"
#include "wx/gdicmn.h"
+ #include "wx/image.h"
#endif
#include "wx/file.h"
#include "wx/filename.h"
#include "wx/module.h"
-#include "wx/image.h"
#include "wx/thread.h"
#ifdef __WXGPE__
#include "wx/palette.h"
#include "wx/icon.h"
#include "wx/math.h"
+ #include "wx/image.h"
#endif
#include "wx/filefn.h"
-#include "wx/image.h"
#include "wx/rawbmp.h"
// need this to get gdk_image_new_bitmap()
#ifndef WX_PRECOMP
#include "wx/log.h"
#include "wx/app.h"
+ #include "wx/image.h"
#endif
#include "wx/mstream.h"
-#include "wx/image.h"
#include "wx/uri.h"
#include <gdk/gdk.h>
filenames += wxT("\r\n");
}
- memcpy( buf, filenames.mbc_str(), filenames.Len() + 1 );
+ memcpy( buf, filenames.mbc_str(), filenames.length() + 1 );
return true;
}
for (size_t i = 0; i < m_filenames.GetCount(); i++)
{
// This is junk in UTF-8
- res += m_filenames[i].Len();
+ res += m_filenames[i].length();
res += 5 + 2; // "file:" (5) + "\r\n" (2)
}
#include "wx/log.h"
#include "wx/dcmemory.h"
#include "wx/math.h" // for floating-point functions
+ #include "wx/image.h"
#endif
-#include "wx/image.h"
#include "wx/module.h"
#include "wx/fontutil.h"
#include "wx/memory.h"
#include "wx/font.h"
#include "wx/gdicmn.h"
+ #include "wx/image.h"
#endif
#include "wx/file.h"
#include "wx/filename.h"
#include "wx/module.h"
-#include "wx/image.h"
#include "wx/thread.h"
#ifdef __WXGPE__
#include "wx/palette.h"
#include "wx/icon.h"
#include "wx/math.h"
+ #include "wx/image.h"
#endif // WX_PRECOMP
#include "wx/filefn.h"
-#include "wx/image.h"
#include <gdk/gdk.h>
#include <gtk/gtk.h>
#ifndef WX_PRECOMP
#include "wx/log.h"
#include "wx/app.h"
+ #include "wx/image.h"
#endif
#include "wx/mstream.h"
-#include "wx/image.h"
#include "wx/uri.h"
#include <gdk/gdk.h>
filenames += wxT("\r\n");
}
- memcpy( buf, filenames.mbc_str(), filenames.Len() + 1 );
+ memcpy( buf, filenames.mbc_str(), filenames.length() + 1 );
return true;
}
for (size_t i = 0; i < m_filenames.GetCount(); i++)
{
// This is junk in UTF-8
- res += m_filenames[i].Len();
+ res += m_filenames[i].length();
res += 5 + 2; // "file:" (5) + "\r\n" (2)
}
#include "wx/log.h"
#include "wx/dcmemory.h"
#include "wx/math.h" // for floating-point functions
+ #include "wx/image.h"
#endif
-#include "wx/image.h"
#include "wx/module.h"
#include "wx/fontutil.h"
#include "wx/dcmemory.h"
#include "wx/log.h"
#include "wx/math.h"
+ #include "wx/image.h"
#endif
#include "wx/html/forcelnk.h"
#include "wx/html/m_templ.h"
#include "wx/html/htmlwin.h"
-#include "wx/image.h"
#include "wx/gifdecod.h"
#include "wx/artprov.h"
#if wxUSE_HTML && wxUSE_STREAMS
#ifndef WXPRECOMP
+ #include "wx/image.h"
#endif
-#include "wx/image.h"
-
#include "wx/html/forcelnk.h"
#include "wx/html/m_templ.h"
#include "wx/log.h"
#include "wx/dcmemory.h"
#include "wx/icon.h"
+ #include "wx/image.h"
#endif
-#include "wx/image.h"
#include "wx/metafile.h"
#include "wx/xpmdecod.h"
#ifndef WX_PRECOMP
#include "wx/app.h"
#include "wx/icon.h"
+ #include "wx/image.h"
#endif // WX_PRECOMP
-#include "wx/image.h"
#include "wx/xpmdecod.h"
#include "wx/mac/private.h"
#include "wx/intl.h"
#include "wx/log.h"
#include "wx/dcmemory.h"
+ #include "wx/image.h"
#endif
#include "wx/mstream.h"
-#include "wx/image.h"
#include "wx/metafile.h"
#include "wx/tokenzr.h"
#include "wx/dcmemory.h"
#include "wx/dcprint.h"
#include "wx/region.h"
+ #include "wx/image.h"
#endif
#include "wx/mac/uma.h"
-#include "wx/image.h"
#ifdef __MSL__
#if __MSL__ >= 0x6000
wxMacUniCharBuffer unibuf( str ) ;
UniCharCount chars = unibuf.GetChars() ;
-
+
status = ::ATSUCreateTextLayoutWithTextPtr( unibuf.GetBuffer() , 0 , chars , chars , 1 ,
&chars , (ATSUStyle*) &m_macATSUIStyle , &atsuLayout ) ;
ATSUTextMeasurement ascent, descent ;
ATSLineLayoutOptions layoutOptions = kATSLineNoLayoutOptions ;
-
+
if (m_font.GetNoAntiAliasing())
{
layoutOptions |= kATSLineNoAntiAliasing ;
}
-
+
Fixed atsuAngle = IntToFixed( iAngle ) ;
ATSUAttributeTag atsuTags[] =
kATSULineLayoutOptionsTag ,
kATSULineRotationTag ,
} ;
-
+
ByteCount atsuSizes[sizeof(atsuTags)/sizeof(ATSUAttributeTag)] =
{
sizeof( ATSLineLayoutOptions ) ,
sizeof( Fixed ) ,
} ;
-
+
ATSUAttributeValuePtr atsuValues[sizeof(atsuTags)/sizeof(ATSUAttributeTag)] =
{
&layoutOptions ,
&atsuAngle ,
} ;
-
+
status = ::ATSUSetLayoutControls(atsuLayout , sizeof(atsuTags)/sizeof(ATSUAttributeTag) - ( abs(iAngle) > 0.001 ? 0 : 1),
atsuTags, atsuSizes, atsuValues ) ;
status = ::ATSUMeasureText( atsuLayout, kATSUFromTextBeginning, kATSUToTextEnd,
&textBefore , &textAfter, &ascent , &descent );
wxASSERT_MSG( status == noErr , wxT("couldn't measure the rotated text") );
-
+
if ( m_backgroundMode == wxSOLID )
- {
+ {
// background painting must be done by hand, cannot be done by ATSUI
wxCoord x2 , y2 ;
PolyHandle polygon = OpenPoly();
OSStatus status = noErr ;
ATSUTextLayout atsuLayout ;
-
+
wxMacUniCharBuffer unibuf( str ) ;
UniCharCount chars = unibuf.GetChars() ;
-
+
status = ::ATSUCreateTextLayoutWithTextPtr( unibuf.GetBuffer() , 0 , chars , chars , 1 ,
&chars , (ATSUStyle*) &m_macATSUIStyle , &atsuLayout ) ;
wxASSERT_MSG( status == noErr , wxT("couldn't setup transient font matching") );
ATSLineLayoutOptions layoutOptions = kATSLineNoLayoutOptions ;
-
+
if (m_font.GetNoAntiAliasing())
{
layoutOptions |= kATSLineNoAntiAliasing ;
}
-
+
ATSUAttributeTag atsuTags[] =
{
kATSULineLayoutOptionsTag ,
} ;
-
+
ByteCount atsuSizes[sizeof(atsuTags)/sizeof(ATSUAttributeTag)] =
{
sizeof( ATSLineLayoutOptions ) ,
} ;
-
+
ATSUAttributeValuePtr atsuValues[sizeof(atsuTags)/sizeof(ATSUAttributeTag)] =
{
&layoutOptions ,
} ;
-
+
status = ::ATSUSetLayoutControls(atsuLayout , sizeof(atsuTags)/sizeof(ATSUAttributeTag) ,
atsuTags, atsuSizes, atsuValues ) ;
-
+
ATSUTextMeasurement textBefore, textAfter ;
ATSUTextMeasurement textAscent, textDescent ;
OSStatus status = noErr ;
ATSUTextLayout atsuLayout ;
-
+
wxMacUniCharBuffer unibuf( text ) ;
UniCharCount chars = unibuf.GetChars() ;
-
+
status = ::ATSUCreateTextLayoutWithTextPtr( unibuf.GetBuffer() , 0 , chars , chars , 1 ,
&chars , (ATSUStyle*) &m_macATSUIStyle , &atsuLayout ) ;
wxASSERT_MSG( status == noErr , wxT("couldn't setup transient font matching") );
ATSLineLayoutOptions layoutOptions = kATSLineNoLayoutOptions ;
-
+
if (m_font.GetNoAntiAliasing())
{
layoutOptions |= kATSLineNoAntiAliasing ;
}
-
+
ATSUAttributeTag atsuTags[] =
{
kATSULineLayoutOptionsTag ,
} ;
-
+
ByteCount atsuSizes[sizeof(atsuTags)/sizeof(ATSUAttributeTag)] =
{
sizeof( ATSLineLayoutOptions ) ,
} ;
-
+
ATSUAttributeValuePtr atsuValues[sizeof(atsuTags)/sizeof(ATSUAttributeTag)] =
{
&layoutOptions ,
} ;
-
+
status = ::ATSUSetLayoutControls(atsuLayout , sizeof(atsuTags)/sizeof(ATSUAttributeTag) ,
atsuTags, atsuSizes, atsuValues ) ;
-
+
for ( int pos = 0; pos < (int)chars ; pos ++ )
{
unsigned long actualNumberOfBounds = 0;
#include "wx/dcmemory.h"
#include "wx/dcprint.h"
#include "wx/region.h"
+ #include "wx/image.h"
#endif
#include "wx/mac/uma.h"
-#include "wx/image.h"
#ifdef __MSL__
/////////////////////////////////////////////////////////////////////////////
-// Name: icon.cpp
+// Name: src/mac/carbon/icon.cpp
// Purpose: wxIcon class
// Author: Stefan Csomor
// Modified by:
// Created: 1998-01-01
// RCS-ID: $Id$
// Copyright: (c) Stefan Csomor
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#include "wx/wxprec.h"
#include "wx/icon.h"
-#include "wx/image.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/image.h"
+#endif
+
#include "wx/mac/private.h"
IMPLEMENT_DYNAMIC_CLASS(wxIcon, wxBitmap)
desiredHeight = loadimage.GetHeight() ;
if ( desiredWidth != loadimage.GetWidth() || desiredHeight != loadimage.GetHeight() )
loadimage.Rescale( desiredWidth , desiredHeight ) ;
-
+
wxBitmap bmp( loadimage );
CopyFromBitmap( bmp ) ;
#ifndef WX_PRECOMP
#include "wx/dc.h"
#include "wx/icon.h"
+ #include "wx/image.h"
#endif
-#include "wx/image.h"
-
IMPLEMENT_DYNAMIC_CLASS(wxImageList, wxObject)
#include "wx/string.h"
#include "wx/log.h"
#include "wx/app.h"
+ #include "wx/image.h"
#endif
#include "wx/string.h"
#include "wx/imaglist.h"
-#include "wx/image.h"
#include "wx/mac/uma.h"
if (! (style & wxBK_ALIGN_MASK))
style |= wxBK_TOP;
-
+
if ( !wxNotebookBase::Create( parent, id, pos, size, style, name ) )
return false;
#ifndef WX_PRECOMP
#include "wx/log.h"
#include "wx/icon.h"
+ #include "wx/image.h"
#endif
-#include "wx/image.h"
#include "wx/xpmdecod.h"
#include "wx/rawbmp.h"
#ifndef WX_PRECOMP
#include "wx/app.h"
#include "wx/icon.h"
+ #include "wx/image.h"
#endif // WX_PRECOMP
-#include "wx/image.h"
#include "wx/xpmdecod.h"
#include "wx/mac/private.h"
#ifndef WX_PRECOMP
#include "wx/intl.h"
#include "wx/log.h"
+ #include "wx/image.h"
#endif
#include "wx/dataobj.h"
#include "wx/mstream.h"
-#include "wx/image.h"
#include "wx/mac/private.h"
#include <Scrap.h>
bool wxFileDataObject::GetDataHere( void* pBuf ) const
{
- wxString sFilenames;
+ wxString sFilenames;
for (size_t i = 0; i < m_filenames.GetCount(); i++)
{
sFilenames += (wxChar)0;
}
- memcpy(pBuf, sFilenames.mbc_str(), sFilenames.Len() + 1);
+ memcpy(pBuf, sFilenames.mbc_str(), sFilenames.length() + 1);
return true;
}
for (size_t i = 0; i < m_filenames.GetCount(); i++)
{
- nRes += m_filenames[i].Len();
+ nRes += m_filenames[i].length();
nRes += 1;
}
#include "wx/dcmemory.h"
#include "wx/dcprint.h"
#include "wx/region.h"
+ #include "wx/image.h"
#endif
#include "wx/mac/uma.h"
-#include "wx/image.h"
#if __MSL__ >= 0x6000
namespace std {}
#include "wx/string.h"
#include "wx/log.h"
#include "wx/app.h"
+ #include "wx/image.h"
#endif
#include "wx/imaglist.h"
-#include "wx/image.h"
#include "wx/mac/uma.h"
// ----------------------------------------------------------------------------
// macros
if ( (style & wxBK_ALIGN_MASK) == wxBK_DEFAULT )
style |= wxBK_TOP;
-
+
MacPreControlCreate( parent , id , wxEmptyString , pos , size ,style, wxDefaultValidator , name , &bounds , title ) ;
int tabstyle = kControlTabSmallNorthProc ;
#include "wx/utils.h"
#include "wx/dcmemory.h"
#include "wx/icon.h"
+ #include "wx/image.h"
#endif
#include "wx/filefn.h"
-#include "wx/image.h"
-#include "wx/image.h"
#include "wx/xpmdecod.h"
#include "wx/mgl/private.h"
#include "wx/app.h"
#include "wx/utils.h"
#include "wx/window.h"
-#endif
-
-#if wxUSE_IMAGE
#include "wx/image.h"
#endif
#include "wx/window.h"
#include "wx/dcmemory.h"
#include "wx/math.h"
+ #include "wx/image.h"
#endif
-#include "wx/image.h"
-
#ifdef __VMS__
#pragma message disable nosimpint
#endif
#include "wx/dcmemory.h"
#include "wx/icon.h"
#include "wx/log.h"
+ #include "wx/image.h"
#endif
#include "wx/msw/private.h"
#if wxUSE_WXDIB
-#include "wx/msw/dib.h"
+ #include "wx/msw/dib.h"
#endif
-#include "wx/image.h"
#include "wx/xpmdecod.h"
#ifdef wxHAVE_RAW_BITMAP
-#include "wx/rawbmp.h"
+ #include "wx/rawbmp.h"
#endif
// missing from mingw32 header
#ifndef WX_PRECOMP
#include "wx/log.h"
#include "wx/dcmemory.h"
+ #include "wx/image.h"
#endif
#include "wx/msw/private.h"
-#include "wx/image.h"
#include "wx/msw/uxtheme.h"
#include "wx/icon.h"
#include "wx/settings.h"
#include "wx/intl.h"
+ #include "wx/image.h"
#endif
#include "wx/module.h"
-#include "wx/image.h"
#include "wx/msw/private.h"
#include "wx/msw/missing.h" // IDC_HAND
*gs_globalCursor = cursor;
}
}
-
-
#include "wx/log.h"
#include "wx/intl.h"
#include "wx/bitmap.h"
+ #include "wx/image.h"
#endif //WX_PRECOMP
#include "wx/file.h"
#include <memory.h>
#endif
-#include "wx/image.h"
#include "wx/msw/dib.h"
#ifdef __WXWINCE__
#include "wx/intl.h"
#include "wx/log.h"
#include "wx/frame.h"
+ #include "wx/image.h"
#endif
#include "wx/msw/private.h"
-#include "wx/image.h"
#include "wx/msw/dragimag.h"
#include "wx/msw/private.h"
#include "wx/dcmemory.h"
#include "wx/intl.h"
#include "wx/log.h"
-
+ #include "wx/image.h"
#include <stdio.h>
#endif
-#include "wx/image.h"
-
#include "wx/msw/imaglist.h"
#include "wx/msw/private.h"
#include "wx/app.h"
#include "wx/dcclient.h"
#include "wx/dcmemory.h"
+ #include "wx/image.h"
#endif
#include "wx/notebook.h"
#include "wx/sysopt.h"
-#include "wx/image.h"
-#include "wx/sysopt.h"
#include "wx/msw/uxtheme.h"
#include "wx/msw/private.h"
#include "wx/dcmemory.h"
#include "wx/control.h"
#include "wx/app.h" // for GetComCtl32Version
+ #include "wx/image.h"
#endif
#include "wx/sysopt.h"
-#include "wx/image.h"
#include "wx/msw/private.h"
#include "wx/dcmemory.h"
#include "wx/icon.h"
#include "wx/log.h"
+ #include "wx/image.h"
#endif
#include "wx/os2/private.h"
-#include "wx/image.h"
#include "wx/xpmdecod.h"
// ----------------------------------------------------------------------------
#include "wx/utils.h"
#include "wx/app.h"
#include "wx/icon.h"
+ #include "wx/image.h"
#endif
#include "wx/os2/private.h"
#include "wx/os2/wxrsc.h"
-#include "wx/image.h"
#include "assert.h"
#ifndef WX_PRECOMP
#include "wx/intl.h"
#include "wx/log.h"
+ #include "wx/image.h"
#endif
#include "wx/dataobj.h"
#include "wx/mstream.h"
-#include "wx/image.h"
#include "wx/os2/private.h"
sFilenames += (wxChar)0;
}
- memcpy(pBuf, sFilenames.mbc_str(), sFilenames.Len() + 1);
+ memcpy(pBuf, sFilenames.mbc_str(), sFilenames.length() + 1);
return true;
}
for (size_t i = 0; i < m_filenames.GetCount(); i++)
{
- nRes += m_filenames[i].Len();
+ nRes += m_filenames[i].length();
nRes += 1;
}
#include "wx/dcmemory.h"
#include "wx/icon.h"
#include "wx/log.h"
+ #include "wx/image.h"
#endif
#if wxUSE_WXDIB
#include "wx/palmos/dib.h"
#endif
-#include "wx/image.h"
#include "wx/xpmdecod.h"
#ifdef wxHAVE_RAW_BITMAP
#include "wx/icon.h"
#include "wx/settings.h"
#include "wx/intl.h"
+ #include "wx/image.h"
#endif
#include "wx/module.h"
-#include "wx/image.h"
// ----------------------------------------------------------------------------
// private classes
#include "wx/log.h"
#include "wx/intl.h"
#include "wx/bitmap.h"
+ #include "wx/image.h"
#endif //WX_PRECOMP
#include "wx/file.h"
-#include "wx/image.h"
#include "wx/palmos/dib.h"
// ----------------------------------------------------------------------------
#include "wx/intl.h"
#include "wx/log.h"
#include "wx/frame.h"
+ #include "wx/image.h"
#endif
-#include "wx/image.h"
-
#include "wx/palmos/dragimag.h"
#include "wx/palmos/private.h"
#include "wx/dc.h"
#include "wx/log.h"
#include "wx/gauge.h"
+ #include "wx/image.h"
#endif // WX_PRECOMP
-#include "wx/image.h"
-
#include "wx/univ/theme.h"
#include "wx/univ/renderer.h"
#include "wx/univ/colschem.h"
}
#endif // wxUSE_GAUGE
-
#include "wx/settings.h"
#include "wx/toplevel.h"
+ #include "wx/image.h"
#endif // WX_PRECOMP
#include "wx/notebook.h"
#include "wx/spinbutt.h"
#include "wx/artprov.h"
-#include "wx/image.h"
#ifdef wxUSE_TOGGLEBTN
#include "wx/tglbtn.h"
#endif // wxUSE_TOGGLEBTN
#include "wx/menu.h"
#include "wx/settings.h"
#include "wx/toplevel.h"
+ #include "wx/image.h"
#endif // WX_PRECOMP
#include "wx/notebook.h"
#include "wx/spinbutt.h"
#include "wx/artprov.h"
-#include "wx/image.h"
#ifdef wxUSE_TOGGLEBTN
#include "wx/tglbtn.h"
#endif // wxUSE_TOGGLEBTN
#include "wx/log.h"
#include "wx/frame.h"
#include "wx/dc.h"
+ #include "wx/image.h"
#endif
#include "wx/univ/renderer.h"
-#include "wx/image.h"
-
// ----------------------------------------------------------------------------
// constants
// ----------------------------------------------------------------------------
#include "wx/dcclient.h"
#include "wx/settings.h"
#include "wx/bitmap.h"
+ #include "wx/image.h"
#endif
#include "wx/univ/renderer.h"
-#include "wx/image.h"
#include "wx/cshelp.h"
#include "wx/evtloop.h"
#include "wx/statbmp.h"
#include "wx/sizer.h"
#include "wx/bitmap.h"
+ #include "wx/image.h"
#endif
-#include "wx/image.h"
-
#ifdef __VMS
#pragma message disable nosimpint
#endif
#include "wx/log.h"
#include "wx/app.h"
#include "wx/icon.h"
+ #include "wx/image.h"
#endif
#include "wx/iconbndl.h"
-#include "wx/image.h"
#ifdef __VMS
#pragma message disable nosimpint
#include "wx/dcmemory.h"
#include "wx/icon.h"
#include "wx/math.h"
+ #include "wx/image.h"
#endif
-#include "wx/image.h"
-
#include "wx/x11/private.h"
/* No point in using libXPM for NanoX */
#include "wx/log.h"
#include "wx/app.h"
#include "wx/utils.h"
+ #include "wx/image.h"
#endif
#include "wx/mstream.h"
-#include "wx/image.h"
#include "wx/x11/private.h"
filenames += (wxChar) 0;
}
- memcpy( buf, filenames.mbc_str(), filenames.Len() + 1 );
+ memcpy( buf, filenames.mbc_str(), filenames.length() + 1 );
return true;
}
for (size_t i = 0; i < m_filenames.GetCount(); i++)
{
- res += m_filenames[i].Len();
+ res += m_filenames[i].length();
res += 1;
}
break;
wxString file( filenames ); // this returns the first file
AddFile( file );
- pos += file.Len()+1;
- filenames += file.Len()+1;
+ pos += file.length()+1;
+ filenames += file.length()+1;
}
#else // 1
m_filenames.Empty();
#include "wx/window.h"
#include "wx/dcmemory.h"
#include "wx/math.h"
+ #include "wx/image.h"
#endif
-#include "wx/image.h"
#include "wx/module.h"
#include "wx/fontutil.h"
#include "wx/dialog.h"
#include "wx/settings.h"
#include "wx/bitmap.h"
+ #include "wx/image.h"
#endif
#ifndef __WXWINCE__
#include "wx/tokenzr.h"
#include "wx/fontenum.h"
#include "wx/module.h"
-#include "wx/image.h"
#include "wx/fontmap.h"
#include "wx/artprov.h"