diff --git a/src/gui/value/image.cpp b/src/gui/value/image.cpp
index 62c7a21e..41f771fa 100644
--- a/src/gui/value/image.cpp
+++ b/src/gui/value/image.cpp
@@ -20,7 +20,7 @@ IMPLEMENT_VALUE_EDITOR(Image) {}
bool ImageValueEditor::onLeftDClick(const RealPoint&, wxMouseEvent&) {
String filename = wxFileSelector(_("Open image file"), _(""), _(""), _(""),
_("All images|*.bmp;*.jpg;*.png;*.gif|Windows bitmaps (*.bmp)|*.bmp|JPEG images (*.jpg;*.jpeg)|*.jpg;*.jpeg|PNG images (*.png)|*.png|GIF images (*.gif)|*.gif|TIFF images (*.tif;*.tiff)|*.tif;*.tiff"),
- wxOPEN);
+ wxOPEN, wxGetTopLevelParent(&editor()));
if (!filename.empty()) {
sliceImage(wxImage(filename));
}
diff --git a/src/mse.vcproj b/src/mse.vcproj
index f9de2549..12a9cea2 100644
--- a/src/mse.vcproj
+++ b/src/mse.vcproj
@@ -3816,6 +3816,10 @@
+
+