Add support for loading wxIconBundle from MS Windows resource
This commit is contained in:
@@ -68,6 +68,18 @@ public:
|
||||
*/
|
||||
wxIconBundle(const wxIcon& icon);
|
||||
|
||||
/**
|
||||
Initializes the bundle with all sizes of a group icon with @a resourceName
|
||||
stored as an MS Windows resource in @a module. When @a module is 0, the current
|
||||
instance is used.
|
||||
|
||||
@see AddIcon(const wxString&, WXHINSTANCE)
|
||||
|
||||
@onlyfor{wxmsw}
|
||||
@since 3.1.1
|
||||
*/
|
||||
wxIconBundle(const wxString& resourceName, WXHINSTANCE module);
|
||||
|
||||
/**
|
||||
Copy constructor.
|
||||
*/
|
||||
@@ -98,6 +110,15 @@ public:
|
||||
*/
|
||||
void AddIcon(wxInputStream& stream, wxBitmapType type = wxBITMAP_TYPE_ANY);
|
||||
|
||||
/**
|
||||
Loads all sizes of a group icon with @a resourceName stored as an MS Windows
|
||||
resource in @a module. When @a module is 0, the current instance is used.
|
||||
|
||||
@onlyfor{wxmsw}
|
||||
@since 3.1.1
|
||||
*/
|
||||
void AddIcon(const wxString& resourceName, WXHINSTANCE module);
|
||||
|
||||
/**
|
||||
Adds the icon to the collection; if the collection already
|
||||
contains an icon with the same width and height, it is
|
||||
|
Reference in New Issue
Block a user