#include "wx/panel.h"
#include "wx/toplevel.h"
#include "wx/frame.h"
+#include "wx/bitmap.h"
#include "wx/dc.h"
#include "wx/dcclient.h"
#include "wx/dcmemory.h"
/////////////////////////////////////////////////////////////////////////////
-// Name: src/cocoa/bitmap.cpp
+// Name: src/cocoa/bitmap.mm
// Purpose: wxBitmap
// Author: David Elliott
// Modified by:
/////////////////////////////////////////////////////////////////////////////
#include "wx/wxprec.h"
+
+#include "wx/bitmap.h"
+
#ifndef WX_PRECOMP
#include "wx/log.h"
#include "wx/utils.h"
#include "wx/icon.h"
#include "wx/colour.h"
#endif //WX_PRECOMP
-#include "wx/bitmap.h"
+
#include "wx/image.h"
#include "wx/xpmdecod.h"
#include "wx/rawbmp.h"
m_cocoaNSBitmapImageRep = [maskRep retain];
return true;
}
-
#include "wx/icon.h"
#ifndef WX_PRECOMP
+ #include "wx/bitmap.h"
#endif //WX_PRECOMP
-#include "wx/bitmap.h"
-
#include "wx/cocoa/autorelease.h"
#import <AppKit/NSImage.h>
/////////////////////////////////////////////////////////////////////////////
#include "wx/wxprec.h"
+
#ifndef WX_PRECOMP
#include "wx/pen.h"
+ #include "wx/bitmap.h"
#endif //WX_PRECOMP
-#include "wx/bitmap.h"
+
#include "wx/colour.h"
#import <AppKit/NSColor.h>
#include "wx/intl.h"
#include "wx/log.h"
#include "wx/msgdlg.h"
- #include "wx/bitmap.h"
#include "wx/confbase.h"
#include "wx/utils.h"
#endif
#include "wx/log.h"
#include "wx/radiobut.h"
#include "wx/statbmp.h"
-#endif
-
-#if wxUSE_STATBMP
#include "wx/bitmap.h"
-#endif // wxUSE_STATBMP
+#endif
const wxChar wxControlNameStr[] = wxT("control");
/////////////////////////////////////////////////////////////////////////////
-// Name: fs_mem.cpp
+// Name: src/common/fs_mem.cpp
// Purpose: in-memory file system
// Author: Vaclav Slavik
+// RCS-ID: $Id$
// Copyright: (c) 2000 Vaclav Slavik
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#include "wx/wxprec.h"
#ifdef __BORLANDC__
-#pragma hdrstop
+ #pragma hdrstop
#endif
#if wxUSE_FILESYSTEM && wxUSE_STREAMS
#include "wx/fs_mem.h"
-#if wxUSE_GUI
- #include "wx/image.h"
- #include "wx/bitmap.h"
-#endif // wxUSE_GUI
-
#ifndef WXPRECOMP
#include "wx/intl.h"
#include "wx/log.h"
#include "wx/hash.h"
+ #if wxUSE_GUI
+ #include "wx/bitmap.h"
+ #endif // wxUSE_GUI
#endif
+#if wxUSE_GUI
+ #include "wx/image.h"
+#endif // wxUSE_GUI
+
#include "wx/mstream.h"
class MemFSHashObj : public wxObject
/*static*/ void wxMemoryFSHandlerBase::AddFile(const wxString& filename, const wxString& textdata)
{
- AddFile(filename, (const void*) textdata.mb_str(), textdata.Length());
+ AddFile(filename, (const void*) textdata.mb_str(), textdata.length());
}
#endif // wxUSE_FILESYSTEM && wxUSE_FS_ZIP
-
#include "wx/icon.h"
#include "wx/cursor.h"
#include "wx/settings.h"
+ #include "wx/bitmap.h"
#endif
#include "wx/colour.h"
-#include "wx/bitmap.h"
#include "wx/font.h"
WXDLLIMPEXP_DATA_CORE(wxBrushList*) wxTheBrushList;
#ifndef WX_PRECOMP
#include "wx/log.h"
#include "wx/app.h"
+ #include "wx/bitmap.h"
#endif
#include "wx/imagbmp.h"
-#include "wx/bitmap.h"
#include "wx/filefn.h"
#include "wx/wfstream.h"
#include "wx/intl.h"
#if wxUSE_IMAGE
+#include "wx/image.h"
+
#ifndef WX_PRECOMP
#include "wx/log.h"
#include "wx/app.h"
#include "wx/hash.h"
#include "wx/utils.h"
+ #include "wx/bitmap.h"
#endif
-#include "wx/image.h"
-#include "wx/bitmap.h"
#include "wx/filefn.h"
#include "wx/wfstream.h"
#include "wx/intl.h"
#include "wx/log.h"
#include "wx/app.h"
#include "wx/intl.h"
+ #include "wx/bitmap.h"
#endif
-#include "wx/bitmap.h"
-
// NB: Some compilers define boolean type in Windows headers
// (e.g. Watcom C++, but not Open Watcom).
// This causes a conflict with jmorecfg.h header from libjpeg, so we have
#if wxUSE_IMAGE && wxUSE_LIBPNG
+#include "wx/imagpng.h"
+
#ifndef WX_PRECOMP
#include "wx/log.h"
#include "wx/app.h"
+ #include "wx/bitmap.h"
#endif
-#include "wx/imagpng.h"
-#include "wx/bitmap.h"
#include "png.h"
#include "wx/filefn.h"
#include "wx/wfstream.h"
#include "wx/log.h"
#include "wx/app.h"
#include "wx/intl.h"
+ #include "wx/bitmap.h"
#endif
-#include "wx/bitmap.h"
-
extern "C"
{
#include "tiff.h"
#include "wx/module.h"
#ifndef TIFFLINKAGEMODE
- #if defined(__WATCOMC__) && defined(__WXMGL__)
- #define TIFFLINKAGEMODE cdecl
- #else
- #define TIFFLINKAGEMODE LINKAGEMODE
- #endif
+ #if defined(__WATCOMC__) && defined(__WXMGL__)
+ #define TIFFLINKAGEMODE cdecl
+ #else
+ #define TIFFLINKAGEMODE LINKAGEMODE
+ #endif
#endif
//-----------------------------------------------------------------------------
#ifndef WX_PRECOMP
#include "wx/dcmemory.h"
+ #include "wx/bitmap.h"
#endif //WX_PRECOMP
-#include "wx/bitmap.h"
-
#if wxUSE_IMAGE
#include "wx/image.h"
#endif
-//---------------------------------------------------------------------------
-
-
wxBitmap wxRegion::ConvertToBitmap() const
{
}
#endif
-
-//---------------------------------------------------------------------------
#include "wx/intl.h"
#include "wx/log.h"
#include "wx/app.h"
+ #include "wx/bitmap.h"
#endif
-#include "wx/bitmap.h"
-
#if wxUSE_ACCEL
#include "wx/accel.h"
#endif // wxUSE_ACCEL
#include "wx/utils.h"
#include "wx/panel.h"
#include "wx/msgdlg.h"
+ #include "wx/bitmap.h"
#endif
#include "wx/imaglist.h"
-#include "wx/bitmap.h"
#include "wx/fontutil.h"
// FIXME: Use GtkImage instead of GtkPixmap. Don't use gtk_container_border_width
#include "wx/intl.h"
#include "wx/log.h"
#include "wx/app.h"
+ #include "wx/bitmap.h"
#endif
-#include "wx/bitmap.h"
-
#if wxUSE_ACCEL
#include "wx/accel.h"
#endif // wxUSE_ACCEL
#include "wx/utils.h"
#include "wx/panel.h"
#include "wx/msgdlg.h"
+ #include "wx/bitmap.h"
#endif
#include "wx/imaglist.h"
-#include "wx/bitmap.h"
#include "wx/fontutil.h"
#include "wx/gtk1/private.h"
// Created: 1998-01-01
// RCS-ID: $Id$
// Copyright: (c) Stefan Csomor
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#include "wx/wxprec.h"
#ifndef WX_PRECOMP
#include "wx/window.h"
+ #include "wx/bitmap.h"
#endif
IMPLEMENT_DYNAMIC_CLASS(wxBitmapButton, wxButton)
#include "wx/mac/uma.h"
-#include "wx/bitmap.h"
bool wxBitmapButton::Create( wxWindow *parent,
wxWindowID id, const wxBitmap& bitmap,
#include "wx/app.h"
#include "wx/utils.h"
#include "wx/frame.h"
+ #include "wx/bitmap.h"
#endif
-#include "wx/bitmap.h"
#include "wx/metafile.h"
#ifndef __DARWIN__
#include "wx/wx.h"
#endif
-#include "wx/bitmap.h"
-
#include "wx/mac/uma.h"
#include "wx/geometry.h"
#ifndef WX_PRECOMP
#include "wx/window.h"
+ #include "wx/bitmap.h"
#endif
IMPLEMENT_DYNAMIC_CLASS(wxBitmapButton, wxButton)
#include "wx/mac/uma.h"
-#include "wx/bitmap.h"
bool wxBitmapButton::Create(wxWindow *parent, wxWindowID id, const wxBitmap& bitmap,
const wxPoint& pos,
#include "wx/app.h"
#include "wx/utils.h"
#include "wx/frame.h"
+ #include "wx/bitmap.h"
#endif
-#include "wx/bitmap.h"
#include "wx/metafile.h"
#ifndef __DARWIN__
#include "wx/notebook.h"
#include "wx/tabctrl.h"
-#include "wx/bitmap.h"
IMPLEMENT_DYNAMIC_CLASS(wxToolBar, wxControl)
#endif
#include "wx/pen.h"
-#include "wx/bitmap.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/bitmap.h"
+#endif
+
#include "wx/colour.h"
#include "wx/mgl/private.h"
#ifndef WX_PRECOMP
#include "wx/app.h"
#include "wx/utils.h"
+ #include "wx/bitmap.h"
#endif
-#include "wx/bitmap.h"
#include "wx/dataobj.h"
#include "wx/ptr_scpd.h"
#ifndef WX_PRECOMP
#include "wx/app.h"
#include "wx/dcmemory.h"
+ #include "wx/bitmap.h"
#endif
#include "wx/apptrait.h"
-#include "wx/bitmap.h"
#include "wx/evtloop.h"
#include <string.h>
#pragma hdrstop
#endif
+#include "wx/bitmap.h"
+
#ifndef WX_PRECOMP
#include <stdio.h>
#include "wx/app.h"
#include "wx/palette.h"
#include "wx/dcmemory.h"
- #include "wx/bitmap.h"
#include "wx/icon.h"
#include "wx/log.h"
#endif
#include "wx/string.h"
#include "wx/log.h"
#include "wx/intl.h"
+ #include "wx/bitmap.h"
#endif //WX_PRECOMP
-#include "wx/bitmap.h"
#include "wx/file.h"
#include <stdio.h>
#include "wx/string.h"
#include "wx/log.h"
#include "wx/app.h"
+ #include "wx/bitmap.h"
#endif // WX_PRECOMP
#include "wx/msw/private.h"
-#include "wx/bitmap.h"
#include "wx/msw/gdiimage.h"
#if wxUSE_WXDIB
#include "wx/dcscreen.h"
#include "wx/settings.h"
#include "wx/listbox.h"
+ #include "wx/bitmap.h"
#endif
#include "wx/colour.h"
#include "wx/font.h"
-#include "wx/bitmap.h"
#include "wx/ownerdrw.h"
#define INCL_PM
#include "wx/string.h"
#include "wx/log.h"
#include "wx/intl.h"
+ #include "wx/bitmap.h"
#endif //WX_PRECOMP
-#include "wx/bitmap.h"
#include "wx/file.h"
#include "wx/image.h"
#include "wx/string.h"
#include "wx/log.h"
#include "wx/app.h"
+ #include "wx/bitmap.h"
#endif // WX_PRECOMP
-#include "wx/bitmap.h"
#include "wx/palmos/gdiimage.h"
#if wxUSE_WXDIB
#ifndef WX_PRECOMP
#include "wx/dcclient.h"
#include "wx/settings.h"
+ #include "wx/bitmap.h"
#endif
#include "wx/univ/renderer.h"
-#include "wx/bitmap.h"
#include "wx/image.h"
#include "wx/cshelp.h"
#include "wx/evtloop.h"
#include "wx/dcclient.h"
#include "wx/statbmp.h"
#include "wx/sizer.h"
+ #include "wx/bitmap.h"
#endif
-#include "wx/bitmap.h"
#include "wx/image.h"
#ifdef __VMS
#ifndef WX_PRECOMP
#include "wx/utils.h"
+ #include "wx/bitmap.h"
#endif
-#include "wx/bitmap.h"
#include "wx/colour.h"
//-----------------------------------------------------------------------------
#ifndef WX_PRECOMP
#include "wx/utils.h"
+ #include "wx/bitmap.h"
#endif
#include "wx/colour.h"
-#include "wx/bitmap.h"
//-----------------------------------------------------------------------------
// wxPen
#include "wx/x11/privx.h"
#ifdef HAVE_XSHAPE
-#ifdef __VMS
-# include "wx/vms_x_fix.h"
-# include <X11/shape.h>
-#else
-# include <X11/extensions/shape.h>
-#endif
-#include "wx/region.h"
-#include "wx/bitmap.h"
-#include "wx/dcmemory.h"
+
+ #ifndef WX_PRECOMP
+ #include "wx/bitmap.h"
+ #endif
+
+ #ifdef __VMS
+ #include "wx/vms_x_fix.h"
+ #include <X11/shape.h>
+ #else
+ #include <X11/extensions/shape.h>
+ #endif
+
+ #include "wx/region.h"
+ #include "wx/dcmemory.h"
#endif
// ----------------------------------------------------------------------------
/////////////////////////////////////////////////////////////////////////////
-// Name: xh_bmp.cpp
+// Name: src/xrc/xh_bmp.cpp
// Purpose: XRC resource for wxBitmap and wxIcon
// Author: Vaclav Slavik
// Created: 2000/09/09
#if wxUSE_XRC
#include "wx/xrc/xh_bmp.h"
-#include "wx/bitmap.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/bitmap.h"
+#endif
IMPLEMENT_DYNAMIC_CLASS(wxBitmapXmlHandler, wxXmlResourceHandler)
wxBitmapXmlHandler::wxBitmapXmlHandler()
-: wxXmlResourceHandler()
+ :wxXmlResourceHandler()
{
}
#include "wx/frame.h"
#include "wx/dialog.h"
#include "wx/settings.h"
+ #include "wx/bitmap.h"
#endif
#ifndef __WXWINCE__
#include "wx/tokenzr.h"
#include "wx/fontenum.h"
#include "wx/module.h"
-#include "wx/bitmap.h"
#include "wx/image.h"
#include "wx/fontmap.h"
#include "wx/artprov.h"
}
}
- if ( dest.GetType() == wxXML_TEXT_NODE && with.GetContent().Length() )
+ if ( dest.GetType() == wxXML_TEXT_NODE && with.GetContent().length() )
dest.SetContent(with.GetContent());
}