use wxStockCursor (as documented and as already implemented in wxMotif) instead of a plain 'int'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -46,7 +46,7 @@ public:
|
||||
wxCursor(const wxString& name, long flags = 0,
|
||||
int hotSpotX = 0, int hotSpotY = 0);
|
||||
|
||||
wxCursor(int cursor_type);
|
||||
wxCursor(wxStockCursor cursor_type);
|
||||
virtual ~wxCursor();
|
||||
|
||||
// FIXME: operator==() is wrong!
|
||||
|
@@ -24,7 +24,7 @@ class WXDLLIMPEXP_CORE wxCursor : public wxGDIObject
|
||||
{
|
||||
public:
|
||||
wxCursor() {}
|
||||
wxCursor(int cursorId);
|
||||
wxCursor(wxStockCursor cursorId);
|
||||
wxCursor(const char bits[], int width, int height,
|
||||
int hotSpotX=-1, int hotSpotY=-1,
|
||||
const char maskBits[]=0, wxColour *fg=0, wxColour *bg=0);
|
||||
|
@@ -23,7 +23,7 @@ class WXDLLIMPEXP_CORE wxCursor : public wxGDIObject
|
||||
{
|
||||
public:
|
||||
wxCursor();
|
||||
wxCursor( int cursorId );
|
||||
wxCursor( wxStockCursor cursorId );
|
||||
#if wxUSE_IMAGE
|
||||
wxCursor( const wxImage & image );
|
||||
#endif
|
||||
|
@@ -25,7 +25,7 @@ class WXDLLIMPEXP_CORE wxCursor : public wxGDIObject
|
||||
{
|
||||
public:
|
||||
wxCursor();
|
||||
wxCursor( int cursorId );
|
||||
wxCursor( wxStockCursor cursorId );
|
||||
#if wxUSE_IMAGE
|
||||
wxCursor( const wxImage & image );
|
||||
#endif
|
||||
|
@@ -24,7 +24,7 @@ class WXDLLIMPEXP_CORE wxCursor : public wxGDIObject
|
||||
public:
|
||||
|
||||
wxCursor();
|
||||
wxCursor(int cursorId);
|
||||
wxCursor(wxStockCursor cursorId);
|
||||
wxCursor(const char bits[], int width, int height,
|
||||
int hotSpotX=-1, int hotSpotY=-1,
|
||||
const char maskBits[]=0, wxColour *fg=0, wxColour *bg=0);
|
||||
|
@@ -29,7 +29,7 @@ public:
|
||||
wxCursor(const wxString& name,
|
||||
long flags = wxBITMAP_TYPE_CUR_RESOURCE,
|
||||
int hotSpotX = 0, int hotSpotY = 0);
|
||||
wxCursor(int idCursor);
|
||||
wxCursor(wxStockCursor idCursor);
|
||||
virtual ~wxCursor();
|
||||
|
||||
// implementation only
|
||||
|
@@ -46,7 +46,7 @@ public:
|
||||
,int nHotSpotX = 0
|
||||
,int nHotSpotY = 0
|
||||
);
|
||||
wxCursor(int nCursorType);
|
||||
wxCursor(wxStockCursor nCursorType);
|
||||
inline ~wxCursor() { }
|
||||
|
||||
inline WXHCURSOR GetHCURSOR(void) const { return (M_CURSORDATA ? M_CURSORDATA->m_hCursor : 0); }
|
||||
|
@@ -30,7 +30,7 @@ public:
|
||||
wxBitmapType flags = wxBITMAP_TYPE_MACCURSOR_RESOURCE,
|
||||
int hotSpotX = 0, int hotSpotY = 0);
|
||||
|
||||
wxCursor(int cursor_type);
|
||||
wxCursor(wxStockCursor cursor_type);
|
||||
virtual ~wxCursor();
|
||||
|
||||
bool CreateFromXpm(const char* const* bits);
|
||||
|
@@ -29,7 +29,7 @@ public:
|
||||
wxCursor(const wxString& name,
|
||||
long flags = wxBITMAP_TYPE_CUR_RESOURCE,
|
||||
int hotSpotX = 0, int hotSpotY = 0);
|
||||
wxCursor(int idCursor);
|
||||
wxCursor(wxStockCursor idCursor);
|
||||
virtual ~wxCursor();
|
||||
|
||||
// implementation only
|
||||
|
@@ -25,7 +25,7 @@ class WXDLLIMPEXP_CORE wxCursor : public wxGDIObject
|
||||
{
|
||||
public:
|
||||
wxCursor();
|
||||
wxCursor( int cursorId );
|
||||
wxCursor( wxStockCursor cursorId );
|
||||
#if wxUSE_IMAGE
|
||||
wxCursor( const wxImage & image );
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user