[saco] Implement/match CDXUTIMEEditBox::PumpMessage

This commit is contained in:
ricardoofnl
2026-09-02 06:57:12 +07:00
parent 6668714bd8
commit 96c25394fd
+19 -1
View File
@@ -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 )