COIN-OR::LEMON - Graph Library

Changeset 1615:b42385baaf3a in lemon-0.x


Ignore:
Timestamp:
08/07/05 18:35:15 (14 years ago)
Author:
Akos Ladanyi
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2122
Message:

compile with gtkmm 2.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gui/main_win.cc

    r1614 r1615  
    138138  if (mapstorage.modified)
    139139  {
    140     Gtk::MessageDialog mdialog("", false, Gtk::MESSAGE_WARNING,
    141         Gtk::BUTTONS_NONE);
    142     mdialog.set_message("<b>Save changes before closing?</b>", true);
     140    Gtk::MessageDialog mdialog("<b>Save changes before closing?</b>", true,
     141        Gtk::MESSAGE_WARNING, Gtk::BUTTONS_NONE);
    143142    mdialog.add_button("Close _without Saving", Gtk::RESPONSE_REJECT);
    144143    mdialog.add_button(Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL);
     
    164163  if (mapstorage.modified)
    165164  {
    166     Gtk::MessageDialog mdialog("", false, Gtk::MESSAGE_WARNING,
    167         Gtk::BUTTONS_NONE);
    168     mdialog.set_message("<b>Save changes before closing?</b>", true);
     165    Gtk::MessageDialog mdialog("<b>Save changes before closing?</b>", true,
     166        Gtk::MESSAGE_WARNING, Gtk::BUTTONS_NONE);
    169167    mdialog.add_button("Close _without Saving", Gtk::RESPONSE_REJECT);
    170168    mdialog.add_button(Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL);
     
    227225  if (mapstorage.modified)
    228226  {
    229     Gtk::MessageDialog mdialog("", false, Gtk::MESSAGE_WARNING,
    230         Gtk::BUTTONS_NONE);
    231     mdialog.set_message("<b>Save changes before closing?</b>", true);
     227    Gtk::MessageDialog mdialog("<b>Save changes before closing?</b>", true,
     228        Gtk::MESSAGE_WARNING, Gtk::BUTTONS_NONE);
    232229    mdialog.add_button("Close _without Saving", Gtk::RESPONSE_REJECT);
    233230    mdialog.add_button(Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL);
Note: See TracChangeset for help on using the changeset viewer.