isOpaque implemented. update imporving

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16432 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Sergii Stoian 2003-04-11 12:53:20 +00:00
parent 34f48b57a7
commit ea951e6cba

View file

@ -483,6 +483,10 @@ _addLeftBorderOffsetToRect(NSRect aRect)
// Resize it anyway.
[self sizeToFit];
// Just quit here if we are a popup.
if ([_menu _ownedByPopUp])
return;
if ([_menu isTornOff] && ![_menu isTransient])
{
@ -920,6 +924,11 @@ _addLeftBorderOffsetToRect(NSRect aRect)
/*
* Drawing.
*/
- (BOOL) isOpaque
{
return YES;
}
- (void) drawRect: (NSRect)rect
{
int i;