fix invisible minimize button

This commit is contained in:
rathnor 2003-09-22 12:07:00 +00:00
parent 139b501112
commit 2f2e2185c3
2 changed files with 5 additions and 2 deletions

View file

@ -1,5 +1,8 @@
(Format: Year/Month/Day)
Changes for 0.9.6:
*03/09/22:
* Fix invisible minimize button for non-pixmap themes (Simon)
WinButton.cc
*03/09/21:
* Fix disappearing close button (Simon)
WinClient.hh/cc

View file

@ -19,7 +19,7 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
/// $Id: WinButton.cc,v 1.14 2003/09/14 17:34:47 fluxgen Exp $
/// $Id: WinButton.cc,v 1.15 2003/09/22 12:07:00 rathnor Exp $
#include "WinButton.hh"
#include "App.hh"
@ -118,7 +118,7 @@ void WinButton::drawType() {
if (used) {
FbTk::FbWindow::clear();
} else if (gc() == 0) { // must have valid graphic context
} else if (gc() != 0) { // must have valid graphic context
FbTk::FbWindow::drawRectangle(gc(),
2, height() - 5, width() - 5, 2);
}