X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3fb1e0594abc234aed02f0b7e614bba7dabc4e99..74a8f67d96591cec101def2a7d47c64072aff7fd:/src/palmos/bitmap.cpp diff --git a/src/palmos/bitmap.cpp b/src/palmos/bitmap.cpp index 674aa379a9..9d25528834 100644 --- a/src/palmos/bitmap.cpp +++ b/src/palmos/bitmap.cpp @@ -77,10 +77,6 @@ public: wxPalette m_bitmapPalette; #endif // wxUSE_PALETTE -#ifdef __WXDEBUG__ - wxDC *m_selectedInto; -#endif // __WXDEBUG__ - #if wxUSE_WXDIB wxDIB *m_dib; #endif @@ -92,7 +88,7 @@ public: private: wxMask *m_bitmapMask; - DECLARE_NO_COPY_CLASS(wxBitmapRefData) + wxDECLARE_NO_COPY_CLASS(wxBitmapRefData); }; // ---------------------------------------------------------------------------- @@ -147,9 +143,6 @@ IMPLEMENT_DYNAMIC_CLASS(wxBitmapHandler, wxObject) wxBitmapRefData::wxBitmapRefData() { -#ifdef __WXDEBUG__ - m_selectedInto = NULL; -#endif m_bitmapMask = NULL; m_hBitmap = (WXHBITMAP) NULL; @@ -198,19 +191,11 @@ bool wxBitmap::CopyFromDIB(const wxDIB& dib) #endif // NEVER_USE_DIB -wxBitmap::~wxBitmap() -{ -} - 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) { } @@ -309,24 +294,15 @@ 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; -} - -#ifdef __WXDEBUG__ - -wxDC *wxBitmap::GetSelectedInto() const -{ - return (wxDC *) NULL; + return NULL; } -#endif - bool wxBitmap::HasAlpha() const { return false; @@ -336,14 +312,6 @@ bool wxBitmap::HasAlpha() const // wxBitmap setters // ---------------------------------------------------------------------------- -#ifdef __WXDEBUG__ - -void wxBitmap::SetSelectedInto(wxDC *dc) -{ -} - -#endif - #if wxUSE_PALETTE void wxBitmap::SetPalette(const wxPalette& palette)