projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pass ApplyEdit() arguments to EndEdit() too for better backwards compatibility (close...
[wxWidgets.git]
/
include
/
wx
/
msw
/
cursor.h
diff --git
a/include/wx/msw/cursor.h
b/include/wx/msw/cursor.h
index 224973683824f94ace7bf28b25415e04aaf96f52..19423ecffe63a694e29a710ba8057f78870d9825 100644
(file)
--- a/
include/wx/msw/cursor.h
+++ b/
include/wx/msw/cursor.h
@@
-23,13
+23,13
@@
public:
// constructors
wxCursor();
wxCursor(const wxImage& image);
// constructors
wxCursor();
wxCursor(const wxImage& image);
- wxCursor(const char bits[], int width, int height,
- int hotSpotX = -1, int hotSpotY = -1,
- const char maskBits[] = NULL);
wxCursor(const wxString& name,
wxCursor(const wxString& name,
-
long flags = wxBITMAP_TYPE_CUR_RESOURC
E,
+
wxBitmapType type = wxCURSOR_DEFAULT_TYP
E,
int hotSpotX = 0, int hotSpotY = 0);
int hotSpotX = 0, int hotSpotY = 0);
- wxCursor(int idCursor);
+ wxCursor(wxStockCursor id) { InitFromStock(id); }
+#if WXWIN_COMPATIBILITY_2_8
+ wxCursor(int id) { InitFromStock((wxStockCursor)id); }
+#endif
virtual ~wxCursor();
// implementation only
virtual ~wxCursor();
// implementation only
@@
-37,6
+37,8
@@
public:
WXHCURSOR GetHCURSOR() const { return (WXHCURSOR)GetHandle(); }
protected:
WXHCURSOR GetHCURSOR() const { return (WXHCURSOR)GetHandle(); }
protected:
+ void InitFromStock(wxStockCursor);
+
virtual wxGDIImageRefData *CreateData() const;
private:
virtual wxGDIImageRefData *CreateData() const;
private: