Ticket #15699: Document-new-wxBitmap-ctor-v2.patch

File Document-new-wxBitmap-ctor-v2.patch, 682 bytes (added by awi, 6 years ago)

Document new wxBitmap ctor.

  • interface/wx/bitmap.h

    diff --git a/interface/wx/bitmap.h b/interface/wx/bitmap.h
    a b public: 
    347347    wxBitmap(const wxImage& img, int depth = wxBITMAP_SCREEN_DEPTH);
    348348
    349349    /**
     350        Creates this bitmap object from the given cursor.
     351        This has to be done to actually display a cursor as you cannot draw a
     352        cursor directly on a window.
     353
     354        This conversion is supported under MSW, and GTK+ (2.8+).
     355
     356        @param cursor
     357            Platform-dependent wxCursor object.
     358    */
     359    wxBitmap(const wxCursor& cursor);
     360
     361    /**
    350362        Destructor.
    351363        See @ref overview_refcount_destruct for more info.