X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e273151278d28cceefe6eee8c49bc6915306805d..d2e66707deb10dea6f92e3e4092f8a43ef942a5d:/src/palmos/cursor.cpp diff --git a/src/palmos/cursor.cpp b/src/palmos/cursor.cpp index 6061e3903f..0ca38c4933 100644 --- a/src/palmos/cursor.cpp +++ b/src/palmos/cursor.cpp @@ -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) { } - -