Merge pull request #85 from victorlevasseur/master

Add a thumbnail to the file dialog when adding a picture
This commit is contained in:
Florian Rival
2015-03-15 17:27:51 +13:00

View File

@@ -349,7 +349,7 @@ wxTreeItemId ResourcesEditor::GetSelectedFolderItem()
*/
void ResourcesEditor::OnAddImageBtClick( wxCommandEvent& event )
{
wxFileDialog FileDialog( this, _("Choose one or more images to add"), "", "", _("Supported image files|*.jpg;*.png|All files|*.*"), wxFD_MULTIPLE );
wxFileDialog FileDialog( this, _("Choose one or more images to add"), "", "", _("Supported image files|*.jpg;*.png|All files|*.*"), wxFD_MULTIPLE|wxFD_PREVIEW );
if ( FileDialog.ShowModal() == wxID_OK )
{