Citat:
... sad ne znam ima li smisla koristiti zaglavlje ...
Nema smisla, ako si izabrao WX koristi ga maksimalno.
Izvod iz HELP-a (wx.chm ili wx.pdf, zavisi koji imas)
A:
::wxMkdir
bool wxMkdir(const wxString& dir, int perm = 0777)
Makes the directory dir, returning TRUE if successful.
perm is the access mask for the directory for the systems on which it is supported (Unix) and doesn't have effect for the other ones.
B:
::wxCopyFile
bool wxCopyFile(const wxString& file1, const wxString& file2, bool overwrite = TRUE)
Copies file1 to file2, returning TRUE if successful. If overwrite parameter is TRUE (default), the destination file is overwritten if it exists, but if overwrite is FALSE, the functions fails in this case.
Proveri sta si stavio u <overwrite>, mozda je tu problem.