mirror of https://github.com/PCSX2/pcsx2.git
gui:windows: Show tooltips for as long as possible.
It'll show for 32.767s. Windows unfortunately doesn't have an infinite value, and also uses a signed 16-bit integer for the delay.
This commit is contained in:
parent
4a743ac2fb
commit
cc1d50a06c
|
@ -595,6 +595,12 @@ void pxSetToolTip( wxWindow* wind, const wxString& src )
|
|||
{
|
||||
if( wind == NULL ) return; // Silently ignore nulls
|
||||
wind->SetToolTip( pxFormatToolTipText(wind, src) );
|
||||
|
||||
// Make tooltips show for as long as possible on Windows. Linux (GTK) can
|
||||
// show tooltips indefinitely.
|
||||
#ifdef __WXMSW__
|
||||
wind->GetToolTip()->SetAutoPop(32767);
|
||||
#endif
|
||||
}
|
||||
|
||||
void pxSetToolTip( wxWindow& wind, const wxString& src )
|
||||
|
|
Loading…
Reference in New Issue