X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f069ac4801c0110f98d5bcfebc7b0474eceb9c0e..7d6a4d96961eac84d05db8bb24c64d39003f6e54:/src/gtk/filectrl.cpp diff --git a/src/gtk/filectrl.cpp b/src/gtk/filectrl.cpp index 4c0d97ba34..70cd51acbd 100644 --- a/src/gtk/filectrl.cpp +++ b/src/gtk/filectrl.cpp @@ -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 )