Mark deprecated methods as such in wxIcon documentation
wxIcon::Set{Depth|Height|Width}() are deprecated (in wxGDIImage, see26ee45e
), mark them as such in the documentation (should probably be a part ofa5aa044a
). Also fix a typo. Closes https://github.com/wxWidgets/wxWidgets/pull/2331
This commit is contained in:
parent
bf5235e01c
commit
46867f591c
@ -182,7 +182,7 @@ public:
|
||||
Attach a Windows icon handle.
|
||||
|
||||
This wxMSW-specific method allows assigning a native Windows @c HICON
|
||||
(which must be castes to @c WXHICON opaque handle type) to wxIcon.
|
||||
(which must be cast to @c WXHICON opaque handle type) to wxIcon.
|
||||
Notice that this means that the @c HICON will be destroyed by wxIcon
|
||||
when it is destroyed.
|
||||
|
||||
@ -267,6 +267,9 @@ public:
|
||||
int desiredWidth = -1, int desiredHeight = -1);
|
||||
|
||||
/**
|
||||
@deprecated This function is deprecated since version 3.1.2, dimensions
|
||||
and depth can only be set at construction time.
|
||||
|
||||
Sets the depth member (does not affect the icon data).
|
||||
|
||||
@param depth
|
||||
@ -275,6 +278,9 @@ public:
|
||||
void SetDepth(int depth);
|
||||
|
||||
/**
|
||||
@deprecated This function is deprecated since version 3.1.2, dimensions
|
||||
and depth can only be set at construction time.
|
||||
|
||||
Sets the height member (does not affect the icon data).
|
||||
|
||||
@param height
|
||||
@ -283,6 +289,9 @@ public:
|
||||
void SetHeight(int height);
|
||||
|
||||
/**
|
||||
@deprecated This function is deprecated since version 3.1.2, dimensions
|
||||
and depth can only be set at construction time.
|
||||
|
||||
Sets the width member (does not affect the icon data).
|
||||
|
||||
@param width
|
||||
|
Loading…
Reference in New Issue
Block a user