wxWinCE warning fix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-02-12 13:16:52 +00:00
parent e35d07b9d0
commit b9a958e66f
2 changed files with 3 additions and 1 deletions

View File

@@ -97,11 +97,12 @@ void wxPropertySheetDialog::LayoutDialog(int centreFlags)
GetSizer()->SetSizeHints(this); GetSizer()->SetSizeHints(this);
if (centreFlags) if (centreFlags)
Centre(centreFlags); Centre(centreFlags);
#else
wxUnusedVar(centreFlags);
#endif #endif
#if defined(__SMARTPHONE__) #if defined(__SMARTPHONE__)
if (m_bookCtrl) if (m_bookCtrl)
m_bookCtrl->SetFocus(); m_bookCtrl->SetFocus();
wxUnusedVar(centreFlags);
#endif #endif
} }

View File

@@ -1133,6 +1133,7 @@ bool wxMenuBar::Insert(size_t pos, wxMenu *menu, const wxString& title)
wxLogLastError(wxT("TB_INSERTBUTTON")); wxLogLastError(wxT("TB_INSERTBUTTON"));
return false; return false;
} }
wxUnusedVar(mswpos);
#else #else
if ( !::InsertMenu(GetHmenu(), mswpos, if ( !::InsertMenu(GetHmenu(), mswpos,
MF_BYPOSITION | MF_POPUP | MF_STRING, MF_BYPOSITION | MF_POPUP | MF_STRING,