From b9a958e66f1feed21c4a0b92b16c6d963198c982 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Sun, 12 Feb 2006 13:16:52 +0000 Subject: [PATCH] wxWinCE warning fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/propdlg.cpp | 3 ++- src/msw/menu.cpp | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/generic/propdlg.cpp b/src/generic/propdlg.cpp index 80b24e73f8..aa4589b2b9 100644 --- a/src/generic/propdlg.cpp +++ b/src/generic/propdlg.cpp @@ -97,11 +97,12 @@ void wxPropertySheetDialog::LayoutDialog(int centreFlags) GetSizer()->SetSizeHints(this); if (centreFlags) Centre(centreFlags); +#else + wxUnusedVar(centreFlags); #endif #if defined(__SMARTPHONE__) if (m_bookCtrl) m_bookCtrl->SetFocus(); - wxUnusedVar(centreFlags); #endif } diff --git a/src/msw/menu.cpp b/src/msw/menu.cpp index 738d07c711..85d93d73a9 100644 --- a/src/msw/menu.cpp +++ b/src/msw/menu.cpp @@ -1133,6 +1133,7 @@ bool wxMenuBar::Insert(size_t pos, wxMenu *menu, const wxString& title) wxLogLastError(wxT("TB_INSERTBUTTON")); return false; } + wxUnusedVar(mswpos); #else if ( !::InsertMenu(GetHmenu(), mswpos, MF_BYPOSITION | MF_POPUP | MF_STRING, -- 2.47.2