Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FilePicker::FilePicker(const wxString& title)
- : wxFrame(NULL, wxID_ANY, title)
- {
- wxFileCtrl* file_picker = new wxFileCtrl(this, wxID_ANY, wxEmptyString, wxEmptyString, wxT("*.txt"), wxFC_SAVE|wxFC_NOSHOWHIDDEN);
- /****** ERROR ******/ Connect( wxEVT_FILECTRL_FILEACTIVATED, wxFileCtrlEventHandler(FilePicker::OnEnter()) );
- Centre();
- }
- void FilePicker::OnEnter(wxFileCtrlEvent& event)
- {
- wxString save_to = event.GetFile();
- }
Add Comment
Please, Sign In to add comment