X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ffecfa5aeb540b54914739dbb8603edbbd4c00a0..982d7f931701e2d65182f798e9182139efd67ed7:/src/palmos/cursor.cpp diff --git a/src/palmos/cursor.cpp b/src/palmos/cursor.cpp index d93a8b1a23..0ca38c4933 100644 --- a/src/palmos/cursor.cpp +++ b/src/palmos/cursor.cpp @@ -1,10 +1,10 @@ ///////////////////////////////////////////////////////////////////////////// // Name: src/palmos/cursor.cpp // Purpose: wxCursor class -// Author: William Osborne +// Author: William Osborne - minimal working wxPalmOS port // Modified by: // Created: 10/13/04 -// RCS-ID: $Id: +// RCS-ID: $Id$ // Copyright: (c) William Osborne // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "cursor.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -28,19 +24,19 @@ #pragma hdrstop #endif +#include "wx/cursor.h" + #ifndef WX_PRECOMP #include "wx/utils.h" #include "wx/app.h" #include "wx/bitmap.h" #include "wx/icon.h" - #include "wx/cursor.h" #include "wx/settings.h" #include "wx/intl.h" + #include "wx/image.h" + #include "wx/module.h" #endif -#include "wx/module.h" -#include "wx/image.h" - // ---------------------------------------------------------------------------- // private classes // ---------------------------------------------------------------------------- @@ -84,23 +80,15 @@ wxCursor::wxCursor(const wxImage& image) } #endif -wxCursor::wxCursor(const char WXUNUSED(bits)[], - int WXUNUSED(width), - int WXUNUSED(height), - int WXUNUSED(hotSpotX), int WXUNUSED(hotSpotY), - const char WXUNUSED(maskBits)[]) -{ -} - wxCursor::wxCursor(const wxString& filename, - long kind, + wxBitmapType kind, int hotSpotX, int hotSpotY) { } // Cursors by stock number -wxCursor::wxCursor(int idCursor) +void wxCursor::InitFromStock(wxStockCursor idCursor) { } @@ -112,11 +100,6 @@ wxCursor::~wxCursor() // other wxCursor functions // ---------------------------------------------------------------------------- -bool wxCursor::operator==(const wxCursor& cursor) const -{ - return FALSE; -} - wxGDIImageRefData *wxCursor::CreateData() const { return NULL; @@ -134,5 +117,3 @@ const wxCursor *wxGetGlobalCursor() void wxSetCursor(const wxCursor& cursor) { } - -