X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/917ad696df5f9e2b37dd888eb33f5582f29849f5..4997d3014cd76b41f2d4036dfd168ad886972f35:/utils/configtool/src/custompropertydialog.cpp diff --git a/utils/configtool/src/custompropertydialog.cpp b/utils/configtool/src/custompropertydialog.cpp index 354956b4be..2c6af9c1b8 100644 --- a/utils/configtool/src/custompropertydialog.cpp +++ b/utils/configtool/src/custompropertydialog.cpp @@ -9,7 +9,7 @@ // Licence: ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "custompropertydialog.h" #endif @@ -200,7 +200,7 @@ void ctCustomPropertyDialog::OnUpdatePropertyChoices( wxUpdateUIEvent& event ) * Event handler for ID_PROPERTY_CHOICE_ADD */ -void ctCustomPropertyDialog::OnPropertyChoiceAdd( wxCommandEvent& event ) +void ctCustomPropertyDialog::OnPropertyChoiceAdd( wxCommandEvent& WXUNUSED(event) ) { wxChoice* choice = (wxChoice* ) FindWindow(ID_CUSTOMPROPERTYTYPE); if ( choice->GetSelection() > -1 && choice->GetStringSelection() == wxT("choice") ) @@ -229,9 +229,9 @@ void ctCustomPropertyDialog::OnUpdatePropertyChoiceAdd( wxUpdateUIEvent& event ) * Event handler for ID_PROPERTY_CHOICE_REMOVE */ -void ctCustomPropertyDialog::OnPropertyChoiceRemove( wxCommandEvent& event ) +void ctCustomPropertyDialog::OnPropertyChoiceRemove( wxCommandEvent& WXUNUSED(event) ) { - wxChoice* choice = (wxChoice* ) FindWindow(ID_CUSTOMPROPERTYEDITORTYPE); + /* wxChoice* choice = (wxChoice* ) */ FindWindow(ID_CUSTOMPROPERTYEDITORTYPE); wxListBox* listBox = (wxListBox* ) FindWindow(ID_PROPERTY_CHOICES); if (listBox->GetSelection() > -1) {