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:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -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,
|
||||||
|
Reference in New Issue
Block a user