X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12028905135250524409f1e7b9bfa9c55e5ce16b..cc8bc5aa9cd14c158de637acb9e5ed8beb066d57:/include/wx/msw/cursor.h?ds=sidebyside diff --git a/include/wx/msw/cursor.h b/include/wx/msw/cursor.h index 66f082b141..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_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #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,