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:
Vadim Zeitlin
2008-06-11 00:28:23 +00:00
parent 54c49fab9e
commit 591d3fa210
4 changed files with 53 additions and 9 deletions

View File

@@ -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.