// Licence:
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "configitemselector.h"
#endif
* Event handler for ID_CONFIG_ADD
*/
-void ctConfigItemsSelector::OnConfigAdd( wxCommandEvent& event )
+void ctConfigItemsSelector::OnConfigAdd( wxCommandEvent& WXUNUSED(event) )
{
wxListBox* masterList = wxDynamicCast(FindWindow(ID_AVAILABLE_CONFIG_ITEMS), wxListBox);
wxListBox* listBox = wxDynamicCast(FindWindow(ID_CONFIG_ITEMS), wxListBox);
* Event handler for ID_CONFIG_REMOVE
*/
-void ctConfigItemsSelector::OnConfigRemove( wxCommandEvent& event )
+void ctConfigItemsSelector::OnConfigRemove( wxCommandEvent& WXUNUSED(event) )
{
wxListBox* listBox = wxDynamicCast(FindWindow(ID_CONFIG_ITEMS), wxListBox);
if (listBox)
ctConfigItem* child = (ctConfigItem*) node->GetData();
InitSourceConfigList(child);
- node = node->Next();
+ node = node->GetNext();
}
}