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.
Knows some wx things
Knows some wx things
Posts: 30
Joined: Sun Jul 05, 2015 7:14 am

how to close wxFileINPUTStream

Postby Anthony11 » Mon Jul 13, 2015 9:33 pm ... 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
Posts: 12959
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: how to close wxFileINPUTStream

Postby doublemax » Mon Jul 13, 2015 10:56 pm

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

Return to “C++ Development”

Who is online

Users browsing this forum: No registered users and 11 guests