paragui-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paragui-cvs] CVS: paragui/test widgetlistbug.cpp,1.1.2.1,1.1.2.2


From: Alexander Pipelka <address@hidden>
Subject: [paragui-cvs] CVS: paragui/test widgetlistbug.cpp,1.1.2.1,1.1.2.2
Date: Fri, 23 May 2003 08:40:23 -0400

Update of /cvsroot/paragui/paragui/test
In directory subversions:/tmp/cvs-serv32512/test

Modified Files:
      Tag: devel-1-0
        widgetlistbug.cpp 
Log Message:
fixed a bug in PG_Widget::Show()
we must not make the widget visible on Show() if the parent widget is hidden 
(or invisible)



Index: widgetlistbug.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/test/Attic/widgetlistbug.cpp,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -r1.1.2.1 -r1.1.2.2
*** widgetlistbug.cpp   23 May 2003 08:17:52 -0000      1.1.2.1
--- widgetlistbug.cpp   23 May 2003 12:40:21 -0000      1.1.2.2
***************
*** 31,35 ****
      PG_WidgetList* list = (PG_WidgetList*) clientdata;
      PG_Label* label=new PG_Label(NULL, PG_Rect(0,0,200,100), "Blubber Bla 
Bla");
!     label->Show();
      list->AddWidget(label);
      std::cerr << "Add" << std::endl;
--- 31,35 ----
      PG_WidgetList* list = (PG_WidgetList*) clientdata;
      PG_Label* label=new PG_Label(NULL, PG_Rect(0,0,200,100), "Blubber Bla 
Bla");
!     //label->Show();
      list->AddWidget(label);
      std::cerr << "Add" << std::endl;





reply via email to

[Prev in Thread] Current Thread [Next in Thread]