Fix for tooltips on Windows.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38363 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Germán Arias 2015-02-23 19:22:16 +00:00
parent 708aac6819
commit 699c768ee7
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2015-02-23 Germán Arias <germanandre@gmx.es>
* Source/GSToolTips.m (+initialize): Use buffered window and
allow autodisplay. Set auto display to NO maybe was needed in the
past, but currently is not needed anymore and interferes with the
display of tooltips on Windows.
2015-02-23 Germán Arias <germanandre@gmx.es>
* Source/GSAutocompleteWindow.m (+defaultWindow):

View file

@ -233,7 +233,7 @@ static BOOL restoreMouseMoved;
window = [[GSTTPanel alloc] initWithContentRect: NSMakeRect(0,0,100,25)
styleMask: NSBorderlessWindowMask
backing: NSBackingStoreRetained
backing: NSBackingStoreBuffered
defer: YES];
[window setBackgroundColor:
@ -241,7 +241,6 @@ static BOOL restoreMouseMoved;
[window setReleasedWhenClosed: NO];
[window setExcludedFromWindowsMenu: YES];
[window setLevel: NSPopUpMenuWindowLevel];
[window setAutodisplay: NO];
}
+ (void) removeTipsForView: (NSView*)aView