COIN-OR::LEMON - Graph Library

Changeset 1614:350c1d8bb7cc in lemon-0.x for gui/main_win.cc


Ignore:
Timestamp:
08/07/05 16:17:11 (19 years ago)
Author:
Hegyi Péter
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2121
Message:

Alpar had the key, focus can be set in the window class. But it is not enough, the focused widget has to be activated, as well! Was a hard task to find out... By the way, two compilation warnings are removed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gui/main_win.cc

    r1606 r1614  
    33MainWin::MainWin(const std::string& title) :
    44  mapwin("Map Setup", mapstorage, gd_canvas),
    5   newmapwin("Creating new map", gd_canvas), gd_canvas(mapstorage, mapwin)
    6 {
    7 
     5  newmapwin("Creating new map", gd_canvas), gd_canvas(mapstorage, mapwin, (Gtk::Window *)this)
     6{
    87  set_title (title);
    98  set_default_size(WIN_WIDTH,WIN_HEIGHT);
Note: See TracChangeset for help on using the changeset viewer.