remember the last type used for loading or saving the image and return it from GetType() (#9551)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -626,6 +626,12 @@ public:
|
||||
*/
|
||||
wxImage GetSubImage(const wxRect& rect) const;
|
||||
|
||||
/**
|
||||
Gets the type of image found by LoadFile or specified with SaveFile
|
||||
@since 2.9.0
|
||||
*/
|
||||
wxBitmapType GetType() const;
|
||||
|
||||
/**
|
||||
Gets the width of the image in pixels.
|
||||
|
||||
|
Reference in New Issue
Block a user