13
0

Work around DELETE defined via windows.h

This commit is contained in:
Paul Davis 2013-07-13 08:45:27 -04:00
parent ad89d1e031
commit 40f49b85ac

View File

@ -117,7 +117,7 @@ PatchChangeDialog::PatchChangeDialog (
add_button (Stock::CANCEL, RESPONSE_CANCEL);
add_button (ok, RESPONSE_ACCEPT);
if (allow_delete) {
add_button (Stock::DELETE, RESPONSE_REJECT);
add_button (Gtk::StockID(GTK_STOCK_DELETE), RESPONSE_REJECT);
}
set_default_response (RESPONSE_ACCEPT);