how to close wxFileINPUTStream

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
Anthony11
Knows some wx things
Knows some wx things
Posts: 30
Joined: Sun Jul 05, 2015 7:14 am

how to close wxFileINPUTStream

Post by Anthony11 »

http://docs.wxwidgets.org/trunk/classwx ... tream.html

I must delete the file afterwards, so how can I close the wxFileInputStream before deletion so i don't get an error.
User avatar
doublemax
Moderator
Moderator
Posts: 19115
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: how to close wxFileINPUTStream

Post by doublemax »

Destroy the object or GetFile()->Close()
Use the source, Luke!
Post Reply