Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9622 in orxonox.OLD for branches/proxy/src/lib/gui/gl/glgui_box.cc


Ignore:
Timestamp:
Jul 30, 2006, 10:26:56 PM (19 years ago)
Author:
bensch
Message:

better segfault-less packing ;)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/lib/gui/gl/glgui_box.cc

    r9621 r9622  
    9090  }
    9191
    92   void GLGuiBox::pack(GLGuiWidget* widget, GLGuiWidget* widgetPointer)
     92  void GLGuiBox::pack(GLGuiWidget* widget, const GLGuiWidget* widgetPointer)
    9393  {
    9494    assert (widget != NULL && widgetPointer != NULL);
     
    100100      {
    101101        this->_children.insert(it, widget);
     102        this->packing(widget);
    102103        return;
    103104      }
     
    105106    PRINTF(2)("WidgetPointer %p not found, inserting at the end\n", widgetPointer);
    106107    this->pack(widget);
    107     this->packing(widget);
    108108  }
    109109
Note: See TracChangeset for help on using the changeset viewer.