From b480f61be34ff7a492bf9281d30b1cc1661d6810 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Wed, 19 Jan 2005 13:46:19 +0000 Subject: [PATCH] MinGW warning fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/univ/statusbr.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/univ/statusbr.cpp b/src/univ/statusbr.cpp index 75b4c135cd..cbbb9672e4 100644 --- a/src/univ/statusbr.cpp +++ b/src/univ/statusbr.cpp @@ -72,7 +72,7 @@ bool wxStatusBarUniv::Create(wxWindow *parent, } SetFieldsCount(1); - + CreateInputHandler(wxINP_HANDLER_STATUSBAR); SetSize(DoGetBestSize()); @@ -116,7 +116,7 @@ void wxStatusBarUniv::DoDraw(wxControlRenderer *renderer) dc.SetFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT)); // do draw the fields - int flags = IsEnabled() ? 0 : wxCONTROL_DISABLED; + int flags = IsEnabled() ? 0 : (int)wxCONTROL_DISABLED; for ( int n = 0; n < m_nFields; n++ ) { rect.width = m_widthsAbs[n]; -- 2.45.2