class: ImageEditor
authorClaus Gittinger <cg@exept.de>
Thu, 03 Apr 2014 16:37:10 +0200
changeset 3100 d2310ff3cbab
parent 3099 7fee6db3c473
child 3101 e96138b86543
class: ImageEditor changed: #doLoadFromFile #doSaveImageFileAs
ImageEditor.st
--- 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)