compilation fixes for PalmOS and implementations of missing standard functions (pflib.diff part of patch 1894861)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-03-02 00:53:32 +00:00
parent 9b4da62701
commit 6afc1b4665
37 changed files with 1162 additions and 337 deletions

View File

@@ -3,7 +3,7 @@
// Purpose: wxGDIImage class: base class for wxBitmap, wxIcon, wxCursor
// under Palm OS
// Author: William Osborne - minimal working wxPalmOS port
// Modified by:
// Modified by: Yunhui Fu
// Created: 10/13/04
// RCS-ID: $Id$
// Copyright: (c) William Osborne
@@ -170,6 +170,14 @@ protected:
// create the data for the derived class here
virtual wxGDIImageRefData *CreateData() const = 0;
virtual wxGDIRefData *CreateGDIRefData() const { return CreateData(); }
// we can't [efficiently] clone objects of this class
virtual wxGDIRefData *
CloneGDIRefData(const wxGDIRefData *WXUNUSED(data)) const
{
wxFAIL_MSG( _T("must be implemented if used") );
return NULL;
}
static wxGDIImageHandlerList ms_handlers;
};