projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add wxVersionInfo and functions returning it for 3rd party libraries.
[wxWidgets.git]
/
src
/
palmos
/
bitmap.cpp
diff --git
a/src/palmos/bitmap.cpp
b/src/palmos/bitmap.cpp
index 5855685a63e6f1dab30814777ee4b99183d4f84d..9d255288349bfe3f3365bed2a0c569ef293946ed 100644
(file)
--- a/
src/palmos/bitmap.cpp
+++ b/
src/palmos/bitmap.cpp
@@
-45,10
+45,6
@@
#include "wx/xpmdecod.h"
#include "wx/xpmdecod.h"
-#ifdef wxHAVE_RAW_BITMAP
-#include "wx/rawbmp.h"
-#endif
-
// missing from mingw32 header
#ifndef CLR_INVALID
#define CLR_INVALID ((COLORREF)-1)
// missing from mingw32 header
#ifndef CLR_INVALID
#define CLR_INVALID ((COLORREF)-1)
@@
-81,10
+77,6
@@
public:
wxPalette m_bitmapPalette;
#endif // wxUSE_PALETTE
wxPalette m_bitmapPalette;
#endif // wxUSE_PALETTE
-#ifdef __WXDEBUG__
- wxDC *m_selectedInto;
-#endif // __WXDEBUG__
-
#if wxUSE_WXDIB
wxDIB *m_dib;
#endif
#if wxUSE_WXDIB
wxDIB *m_dib;
#endif
@@
-96,7
+88,7
@@
public:
private:
wxMask *m_bitmapMask;
private:
wxMask *m_bitmapMask;
- DECLARE_NO_COPY_CLASS(wxBitmapRefData)
+ wxDECLARE_NO_COPY_CLASS(wxBitmapRefData);
};
// ----------------------------------------------------------------------------
};
// ----------------------------------------------------------------------------
@@
-151,9
+143,6
@@
IMPLEMENT_DYNAMIC_CLASS(wxBitmapHandler, wxObject)
wxBitmapRefData::wxBitmapRefData()
{
wxBitmapRefData::wxBitmapRefData()
{
-#ifdef __WXDEBUG__
- m_selectedInto = NULL;
-#endif
m_bitmapMask = NULL;
m_hBitmap = (WXHBITMAP) NULL;
m_bitmapMask = NULL;
m_hBitmap = (WXHBITMAP) NULL;
@@
-202,19
+191,11
@@
bool wxBitmap::CopyFromDIB(const wxDIB& dib)
#endif // NEVER_USE_DIB
#endif // NEVER_USE_DIB
-wxBitmap::~wxBitmap()
-{
-}
-
wxBitmap::wxBitmap(const char bits[], int width, int height, int depth)
{
Init();
}
wxBitmap::wxBitmap(const char bits[], int width, int height, int depth)
{
Init();
}
-wxBitmap::wxBitmap(int w, int h, int d)
-{
-}
-
wxBitmap::wxBitmap(int w, int h, const wxDC& dc)
{
}
wxBitmap::wxBitmap(int w, int h, const wxDC& dc)
{
}
@@
-313,26
+294,13
@@
wxBitmap wxBitmap::GetSubBitmap( const wxRect& rect) const
#if wxUSE_PALETTE
wxPalette* wxBitmap::GetPalette() const
{
#if wxUSE_PALETTE
wxPalette* wxBitmap::GetPalette() const
{
- return
(wxPalette *)
NULL;
+ return NULL;
}
#endif
wxMask *wxBitmap::GetMask() const
{
}
#endif
wxMask *wxBitmap::GetMask() const
{
- return (wxMask *) NULL;
-}
-
-#ifdef __WXDEBUG__
-
-wxDC *wxBitmap::GetSelectedInto() const
-{
- return (wxDC *) NULL;
-}
-
-#endif
-
-void wxBitmap::UseAlpha()
-{
+ return NULL;
}
bool wxBitmap::HasAlpha() const
}
bool wxBitmap::HasAlpha() const
@@
-344,14
+312,6
@@
bool wxBitmap::HasAlpha() const
// wxBitmap setters
// ----------------------------------------------------------------------------
// wxBitmap setters
// ----------------------------------------------------------------------------
-#ifdef __WXDEBUG__
-
-void wxBitmap::SetSelectedInto(wxDC *dc)
-{
-}
-
-#endif
-
#if wxUSE_PALETTE
void wxBitmap::SetPalette(const wxPalette& palette)
#if wxUSE_PALETTE
void wxBitmap::SetPalette(const wxPalette& palette)
@@
-368,18
+328,6
@@
void wxBitmap::SetMask(wxMask *mask)
// raw bitmap access support
// ----------------------------------------------------------------------------
// raw bitmap access support
// ----------------------------------------------------------------------------
-#ifdef wxHAVE_RAW_BITMAP
-void *wxBitmap::GetRawData(wxPixelDataBase& data, int bpp)
-{
- return NULL;
-}
-
-void wxBitmap::UngetRawData(wxPixelDataBase& dataBase)
-{
- return;
-}
-#endif // #ifdef wxHAVE_RAW_BITMAP
-
// ----------------------------------------------------------------------------
// wxMask
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// wxMask
// ----------------------------------------------------------------------------