COIN-OR::LEMON - Graph Library

Changeset 55:e4ee805ca5fc in glemon-0.x for main_win.cc


Ignore:
Timestamp:
08/07/05 16:17:11 (19 years ago)
Author:
Hegyi Péter
Branch:
gui
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk/gui@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
  • main_win.cc

    r53 r55  
    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.