Warning fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2005-05-13 11:56:04 +00:00
parent a92e7f3047
commit 9e7efd538e

View File

@ -96,8 +96,10 @@ void wxPropertySheetDialog::CreateButtons(int flags)
// Perhaps that could be embedded in CreateButtonSizer() directly. // Perhaps that could be embedded in CreateButtonSizer() directly.
SetRightMenu(wxID_CANCEL); SetRightMenu(wxID_CANCEL);
SetLeftMenu(wxID_OK); SetLeftMenu(wxID_OK);
wxUnusedVar(flags);
#elif defined(__POCKETPC__) #elif defined(__POCKETPC__)
// Do nothing // Do nothing
wxUnusedVar(flags);
#else #else
wxSizer* sizer = CreateButtonSizer(flags); wxSizer* sizer = CreateButtonSizer(flags);
m_innerSizer->Add( sizer, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxTOP|wxBOTTOM|wxLEFT|wxRIGHT, 2); m_innerSizer->Add( sizer, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxTOP|wxBOTTOM|wxLEFT|wxRIGHT, 2);