Fixed method alphabetic order
Former-commit-id: b37a42cb64fa729888ad50957fc8c73b17ef9620
This commit is contained in:
@@ -257,22 +257,6 @@ bool NzWindowImpl::HasFocus() const
|
||||
return GetForegroundWindow() == m_handle;
|
||||
}
|
||||
|
||||
void NzWindowImpl::ProcessEvents(bool block)
|
||||
{
|
||||
if (m_ownsWindow)
|
||||
{
|
||||
if (block)
|
||||
WaitMessage();
|
||||
|
||||
MSG message;
|
||||
while (PeekMessageW(&message, nullptr, 0, 0, PM_REMOVE))
|
||||
{
|
||||
TranslateMessage(&message);
|
||||
DispatchMessageW(&message);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void NzWindowImpl::IgnoreNextMouseEvent(int mouseX, int mouseY)
|
||||
{
|
||||
// Petite astuce ...
|
||||
@@ -290,6 +274,22 @@ bool NzWindowImpl::IsVisible() const
|
||||
return IsWindowVisible(m_handle);
|
||||
}
|
||||
|
||||
void NzWindowImpl::ProcessEvents(bool block)
|
||||
{
|
||||
if (m_ownsWindow)
|
||||
{
|
||||
if (block)
|
||||
WaitMessage();
|
||||
|
||||
MSG message;
|
||||
while (PeekMessageW(&message, nullptr, 0, 0, PM_REMOVE))
|
||||
{
|
||||
TranslateMessage(&message);
|
||||
DispatchMessageW(&message);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void NzWindowImpl::SetCursor(nzWindowCursor cursor)
|
||||
{
|
||||
switch (cursor)
|
||||
|
||||
Reference in New Issue
Block a user