summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2011-09-30 06:22:01 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2011-10-05 18:51:28 -0500
commit2381bb24b8819e6d7e522736eb32d6af4b1c2938 (patch)
tree16448badf585d4bb01108bca30a13dfb1fb7b98b
parent27e3ac22295c94ba78434193000f936aa2a77227 (diff)
accfixes2: call PushButton::Click in MoreButton::Click() after
call PushButton::Click in MoreButton::Click() after other controls have been positioned, not before
-rw-r--r--vcl/source/control/morebtn.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/vcl/source/control/morebtn.cxx b/vcl/source/control/morebtn.cxx
index f40bc376d5e0..90751318519c 100644
--- a/vcl/source/control/morebtn.cxx
+++ b/vcl/source/control/morebtn.cxx
@@ -154,10 +154,6 @@ void MoreButton::Click()
mbState = !mbState;
ShowState();
- // Hier den Click-Handler rufen, damit vorher die Controls initialisiert
- // werden koennen
- PushButton::Click();
-
// Je nach Status die Fenster updaten
if ( mbState )
{
@@ -198,6 +194,7 @@ void MoreButton::Click()
}
}
}
+ PushButton::Click();
}
// -----------------------------------------------------------------------