mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 02:04:20 +00:00
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:
parent
708aac6819
commit
699c768ee7
2 changed files with 8 additions and 2 deletions
|
@ -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):
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue