paragui-cvs
[Top][All Lists]
Advanced

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

[paragui-cvs] CVS: paragui/src/widgets pgwidget.cpp,1.4.4.20,1.4.4.21


From: Alexander Pipelka <address@hidden>
Subject: [paragui-cvs] CVS: paragui/src/widgets pgwidget.cpp,1.4.4.20,1.4.4.21
Date: Fri, 23 May 2003 08:40:23 -0400

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

Modified Files:
      Tag: devel-1-0
        pgwidget.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: pgwidget.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/src/widgets/pgwidget.cpp,v
retrieving revision 1.4.4.20
retrieving revision 1.4.4.21
diff -C2 -r1.4.4.20 -r1.4.4.21
*** pgwidget.cpp        16 Apr 2003 14:02:49 -0000      1.4.4.20
--- pgwidget.cpp        23 May 2003 12:40:20 -0000      1.4.4.21
***************
*** 664,667 ****
--- 664,672 ----
        eventShow();
  
+       PG_Widget* parent = GetParent();
+       if(parent != NULL && !parent->IsVisible()) {
+               return;
+       }
+       
        if (fade) {
                FadeIn();





reply via email to

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