mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-01 21:31:56 +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
67f2adfd0e
commit
4574de5f17
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>
|
2015-02-23 Germán Arias <germanandre@gmx.es>
|
||||||
|
|
||||||
* Source/GSAutocompleteWindow.m (+defaultWindow):
|
* Source/GSAutocompleteWindow.m (+defaultWindow):
|
||||||
|
|
|
@ -233,7 +233,7 @@ static BOOL restoreMouseMoved;
|
||||||
|
|
||||||
window = [[GSTTPanel alloc] initWithContentRect: NSMakeRect(0,0,100,25)
|
window = [[GSTTPanel alloc] initWithContentRect: NSMakeRect(0,0,100,25)
|
||||||
styleMask: NSBorderlessWindowMask
|
styleMask: NSBorderlessWindowMask
|
||||||
backing: NSBackingStoreRetained
|
backing: NSBackingStoreBuffered
|
||||||
defer: YES];
|
defer: YES];
|
||||||
|
|
||||||
[window setBackgroundColor:
|
[window setBackgroundColor:
|
||||||
|
@ -241,7 +241,6 @@ static BOOL restoreMouseMoved;
|
||||||
[window setReleasedWhenClosed: NO];
|
[window setReleasedWhenClosed: NO];
|
||||||
[window setExcludedFromWindowsMenu: YES];
|
[window setExcludedFromWindowsMenu: YES];
|
||||||
[window setLevel: NSPopUpMenuWindowLevel];
|
[window setLevel: NSPopUpMenuWindowLevel];
|
||||||
[window setAutodisplay: NO];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
+ (void) removeTipsForView: (NSView*)aView
|
+ (void) removeTipsForView: (NSView*)aView
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue