Wrap variable initializations after '=' consistently

Replace a few occurrences of

        type var
            = value;

with

        type var =
            value;

which is used much more widely in wx sources for consistency.

Also get rid of a couple of such lines, when it could be done easily.

No real changes.
This commit is contained in:
Vadim Zeitlin
2019-11-22 00:53:45 +01:00
parent 59d1cb8756
commit 2bc6e50ede
9 changed files with 21 additions and 22 deletions

View File

@@ -794,8 +794,8 @@ void wxApp::MSWProcessPendingEventsIfNeeded()
{
// The cast below is safe as wxEventLoop derives from wxMSWEventLoopBase in
// both console and GUI applications.
wxMSWEventLoopBase * const evtLoop
= static_cast<wxMSWEventLoopBase *>(wxEventLoop::GetActive());
wxMSWEventLoopBase * const evtLoop =
static_cast<wxMSWEventLoopBase *>(wxEventLoop::GetActive());
if ( evtLoop && evtLoop->MSWIsWakeUpRequested() )
ProcessPendingEvents();
}