]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/bitmap.cpp
restore passing WM_COMMAND messages for SC_XXX commands to DefFrameProc() in wxMDIPar...
[wxWidgets.git] / src / palmos / bitmap.cpp
index 75ae168b583bedaa909c2aea25bdaf6b7813e38b..35e484a48a77013bb9cc2fda3e8c323930634b54 100644 (file)
 
 #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)
@@ -96,7 +92,7 @@ public:
 private:
     wxMask       *m_bitmapMask;
 
-    DECLARE_NO_COPY_CLASS(wxBitmapRefData)
+    wxDECLARE_NO_COPY_CLASS(wxBitmapRefData);
 };
 
 // ----------------------------------------------------------------------------
@@ -211,16 +207,6 @@ wxBitmap::wxBitmap(const char bits[], int width, int height, int depth)
     Init();
 }
 
-// Create from XPM data
-#if wxUSE_IMAGE && wxUSE_XPM
-bool wxBitmap::CreateFromXpm(const char **data)
-#else
-bool wxBitmap::CreateFromXpm(const char **WXUNUSED(data))
-#endif
-{
-    return false;
-}
-
 wxBitmap::wxBitmap(int w, int h, int d)
 {
 }
@@ -229,7 +215,7 @@ wxBitmap::wxBitmap(int w, int h, const wxDC& dc)
 {
 }
 
-wxBitmap::wxBitmap(void *data, long type, int width, int height, int depth)
+wxBitmap::wxBitmap(const void* data, long type, int width, int height, int depth)
 {
 }
 
@@ -294,7 +280,7 @@ bool wxBitmap::LoadFile(const wxString& filename, long type)
     return false;
 }
 
-bool wxBitmap::Create(void *data, long type, int width, int height, int depth)
+bool wxBitmap::Create(const void* data, long type, int width, int height, int depth)
 {
     return false;
 }
@@ -323,28 +309,24 @@ wxBitmap wxBitmap::GetSubBitmap( const wxRect& rect) const
 #if wxUSE_PALETTE
 wxPalette* wxBitmap::GetPalette() const
 {
-    return (wxPalette *) NULL;
+    return NULL;
 }
 #endif
 
 wxMask *wxBitmap::GetMask() const
 {
-    return (wxMask *) NULL;
+    return NULL;
 }
 
 #ifdef __WXDEBUG__
 
 wxDC *wxBitmap::GetSelectedInto() const
 {
-    return (wxDC *) NULL;
+    return NULL;
 }
 
 #endif
 
-void wxBitmap::UseAlpha()
-{
-}
-
 bool wxBitmap::HasAlpha() const
 {
     return false;
@@ -378,18 +360,6 @@ void wxBitmap::SetMask(wxMask *mask)
 // 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
 // ----------------------------------------------------------------------------
@@ -445,7 +415,7 @@ bool wxMask::Create(const wxBitmap& bitmap, const wxColour& colour)
 // ----------------------------------------------------------------------------
 
 bool wxBitmapHandler::Create(wxGDIImage *image,
-                             void *data,
+                             const void* data,
                              long flags,
                              int width, int height, int depth)
 {
@@ -468,7 +438,7 @@ bool wxBitmapHandler::Save(wxGDIImage *image,
 }
 
 bool wxBitmapHandler::Create(wxBitmap *WXUNUSED(bitmap),
-                             void *WXUNUSED(data),
+                             const void* WXUNUSED(data),
                              long WXUNUSED(type),
                              int WXUNUSED(width),
                              int WXUNUSED(height),