+UseWarnFileRef::UseWarnFileRef(PreferencesWindow *pwindow, int x, int y)
+ : BC_CheckBox(x, y, pwindow->thread->preferences->warn_fileref,
+ _("Warn on creating file references"))
+{
+ this->pwindow = pwindow;
+}
+
+int UseWarnFileRef::handle_event()
+{
+ pwindow->thread->preferences->warn_fileref = get_value();
+ return 1;
+}
+
+