No real changes, just don't initialize extern variable to avoid g++ warning.

g++ warns about initialized extern variables so separate the declaration from
the initialization to avoid this warning.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2010-01-26 09:01:02 +00:00
parent 108694fe19
commit 0369a9fedf

View File

@ -4802,7 +4802,8 @@ wxColour wxWindowMSW::MSWGetThemeColour(const wchar_t *themeName,
// endless stream of WM_PAINT messages for this window resulting in a lot of
// difficult to debug problems (e.g. impossibility to repaint other windows,
// lack of timer and idle events and so on)
extern bool wxDidCreatePaintDC = false;
extern bool wxDidCreatePaintDC;
bool wxDidCreatePaintDC = false;
bool wxWindowMSW::HandlePaint()
{