Hi all,
sorry for stupid question looking to create a file to write to, and am using wxFile but cant gat it to work what am i doing wrong
wxFile::Create(SaveDialog->GetFilename(), true,wxS_DEFAULT);
Thanx in advance
How do i create a file Topic is solved
This is the error I get
I dont understand what it means by adding an object, as I just want the function to create a file[/quote]
Code: Select all
cannot call member function `bool wxFile::Create(const wxChar*, bool, int)' without object
Auria is right :]
Try :
Try :
Code: Select all
wxFile file;
file.Create(SaveDialog->GetFilename(), true,wxS_DEFAULT);