X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eff4ffbf4f9b38beda8df150766afc2f82ad04c8..cc8bc5aa9cd14c158de637acb9e5ed8beb066d57:/include/wx/msw/cursor.h diff --git a/include/wx/msw/cursor.h b/include/wx/msw/cursor.h index 46b39045ca..27c9bedc85 100644 --- a/include/wx/msw/cursor.h +++ b/include/wx/msw/cursor.h @@ -12,10 +12,6 @@ #ifndef _WX_CURSOR_H_ #define _WX_CURSOR_H_ -#ifdef __GNUG__ - #pragma interface "cursor.h" -#endif - #include "wx/msw/gdiimage.h" class WXDLLEXPORT wxImage; @@ -26,7 +22,7 @@ class WXDLLEXPORT wxCursor : public wxGDIImage public: // constructors wxCursor(); - wxCursor(const wxCursor& cursor) { Ref(cursor); } + wxCursor(const wxCursor& cursor) : wxGDIImage(cursor) { Ref(cursor); } wxCursor(const wxImage& image); wxCursor(const char bits[], int width, int height, int hotSpotX = -1, int hotSpotY = -1,