]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/filectrl.cpp
new file added
[wxWidgets.git] / src / gtk / filectrl.cpp
index 4c0d97ba34a4967fa548ddf0b0d559188c88bfef..70cd51acbd58329ac439cd9f292f3c1b21e55ff9 100644 (file)
@@ -88,7 +88,7 @@ bool wxGtkFileChooser::SetPath( const wxString& path )
     if ( path.empty() )
         return true;
 
-    return gtk_file_chooser_set_filename( m_widget, path.utf8_str() );
+    return gtk_file_chooser_set_filename( m_widget, path.utf8_str() ) != 0;
 }
 
 bool wxGtkFileChooser::SetDirectory( const wxString& dir )