#include "ControlPrint.h"
-#include "ButtonController.h"
#include "frontend_helpers.h"
#include "Buffer.h"
params_.reset(new PrinterParams(PrinterParams::PRINTER,
lyxrc.printer, name));
- dialog().bc().valid(); // so that the user can press Ok
+ dialog().setButtonsValid(true); // so that the user can press Ok
return true;
}