Skip to content

Commit f99d264

Browse files
committed
modif type image
1 parent ddb1560 commit f99d264

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

InfoArticle.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ void InfoArticle::EventCheminImage(wxCommandEvent& event){
129129
}
130130

131131
wxString InfoArticle::CheminsDeFicher() {
132-
wxFileDialog openFileDialog(this, _("Open PNG file"), "", "", "PNG files (*.png)|*.png", wxFD_OPEN | wxFD_FILE_MUST_EXIST);
132+
wxFileDialog openFileDialog(this, _("Ouvrir une image"), "", "", "Tous les fichiers (*.*)|*.*|Images PNG (*.png)|*.png|Images JPG (*.jpg;*.jpeg)|*.jpg;*.jpeg", wxFD_OPEN | wxFD_FILE_MUST_EXIST);
133133
if (openFileDialog.ShowModal() == wxID_CANCEL)
134134
return ""; // the user changed idea...
135135

0 commit comments

Comments
 (0)