ImageEditor.st
changeset 3100 d2310ff3cbab
parent 3080 918f79c8b30d
child 3103 690eff6e417e
--- a/ImageEditor.st	Mon Mar 17 14:10:29 2014 +0100
+++ b/ImageEditor.st	Thu Apr 03 16:37:10 2014 +0200
@@ -6339,7 +6339,7 @@
     title := (resources string:'Load Image From').
 
     (UserPreferences current useNativeFileDialog
-     and:[Screen current platformName = #WIN32]) ifTrue:[
+     and:[Screen current isWindowsPlatform]) ifTrue:[
         self withWaitCursorDo:[
             file := Screen current
                 nativeFileDialogFor:(self window topView id)
@@ -6603,7 +6603,7 @@
     filters := FileSelectionBrowser saveImageFileNameFilters.
 
     (UserPreferences current useNativeFileDialog
-     and:[Screen current platformName = #WIN32]) ifTrue:[
+     and:[Screen current isWindowsPlatform]) ifTrue:[
         self withWaitCursorDo:[
             file := Screen current
                 nativeFileDialogFor:(self window topView id)