]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/configtool/src/custompropertydialog.cpp
wxToggleButton on wxMac has these methods now
[wxWidgets.git] / utils / configtool / src / custompropertydialog.cpp
index 354956b4be5e7a9f666dbe8222f04b2e8f84ae02..2c6af9c1b8a70c4149707ce5c85075206260febc 100644 (file)
@@ -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)
     {