morebtn.cxx (4d7c9de0) morebtn.cxx (90386390)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 139 unchanged lines hidden (view full) ---

148 Size aSize( pParent->GetSizePixel() );
149 Window* pWindow = (mpMBData->mpItemList) ? mpMBData->mpItemList->First() : NULL;
150 long nDeltaPixel = LogicToPixel( Size( 0, mnDelta ), meUnit ).Height();
151
152 // Status aendern
153 mbState = !mbState;
154 ShowState();
155
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 139 unchanged lines hidden (view full) ---

148 Size aSize( pParent->GetSizePixel() );
149 Window* pWindow = (mpMBData->mpItemList) ? mpMBData->mpItemList->First() : NULL;
150 long nDeltaPixel = LogicToPixel( Size( 0, mnDelta ), meUnit ).Height();
151
152 // Status aendern
153 mbState = !mbState;
154 ShowState();
155
156 // Hier den Click-Handler rufen, damit vorher die Controls initialisiert
157 // werden koennen
158 //PushButton::Click();
159 // Je nach Status die Fenster updaten
160 if ( mbState )
161 {
162 // Fenster anzeigen
163 while ( pWindow )
164 {
165 pWindow->Show();
166 pWindow = mpMBData->mpItemList->Next();

--- 110 unchanged lines hidden ---
156 // Je nach Status die Fenster updaten
157 if ( mbState )
158 {
159 // Fenster anzeigen
160 while ( pWindow )
161 {
162 pWindow->Show();
163 pWindow = mpMBData->mpItemList->Next();

--- 110 unchanged lines hidden ---