X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f069ac4801c0110f98d5bcfebc7b0474eceb9c0e..b3b3713300ab8fc54010bbe68e982153e53baf6c:/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 )