Débutant avec wxWidget, je souhaite affichier un répertoire avec wxFileDialog, pour choisir des fichiers, je n'obtiens rien à l'affichage :
Le compilateur me dit que 'dialogue n'est pas une classe' donc qu'il ny a pas de méthode 'ShowModal()'.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 #include "wx/filedlg.h" ... wxFileDialog dialogue ( BanqueFrm, wxString = wxT("Sélectionnez un fichier"), wxString = wxT("F:\\Archivetxt"), wxString = wxEmptyString, wxString = wxT ( "*.txt"), wxString = wxOPEN | wxFD_MULTIPLE); 70 if ( dialogue.ShowModal() == wxID_OK ) { dialogue.GetPaths( TabFic); }
70 " request for member ShowModal in dialogue wich is non-class type wxFileDialog".
???
Partager