mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-10 19:53:04 +08:00
[saco] Implement/match CDXUTIMEEditBox::PumpMessage
This commit is contained in:
@@ -6175,6 +6175,25 @@ void CDXUTIMEEditBox::FinalizeString( bool bSend )
|
||||
bProcessing = false;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------
|
||||
// nothing calls this in retail either
|
||||
void CDXUTIMEEditBox::PumpMessage()
|
||||
{
|
||||
MSG msg;
|
||||
|
||||
while( PeekMessageW( &msg, NULL, 0, 0, PM_NOREMOVE ) )
|
||||
{
|
||||
if( !GetMessageW( &msg, NULL, 0, 0 ) )
|
||||
{
|
||||
PostQuitMessage( msg.wParam );
|
||||
return;
|
||||
}
|
||||
|
||||
TranslateMessage( &msg );
|
||||
DispatchMessage( &msg );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//--------------------------------------------------------------------------------------
|
||||
// Determine whether the reading window should be vertical or horizontal.
|
||||
@@ -7683,7 +7702,6 @@ void CDXUTIMEEditBox::Uninitialize()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//--------------------------------------------------------------------------------------
|
||||
// MATCH
|
||||
void DXUTBlendColor::Init( D3DCOLOR defaultColor, D3DCOLOR disabledColor, D3DCOLOR hiddenColor )
|
||||
|
||||
Reference in New Issue
Block a user