#endif
#include "wx/combobox.h"
+#include <wx/intl.h>
//-----------------------------------------------------------------------------
// data
wxNode *node = m_clientData.Nth( n );
if (!node)
{
- wxFAIL_MSG("wxComboBox::Delete wrong index");
+ wxFAIL_MSG( "wxComboBox: wrong index" );
}
else
m_clientData.DeleteNode( node );
count++;
child = child->next;
};
+
+ wxFAIL_MSG( "wxComboBox: string not found" );
+
return -1;
};
{
wxNode *node = m_clientData.Nth( n );
if (node) return (char*)node->Data();
+
+ wxFAIL_MSG( "wxComboBox: wrong index" );
+
return NULL;
};
{
wxNode *node = m_clientData.Nth( n );
if (node) node->SetData( (wxObject*) clientData );
+
+ wxFAIL_MSG( "wxComboBox: wrong index" );
};
int wxComboBox::GetSelection(void) const
child = child->next;
};
};
+
+ wxFAIL_MSG( "wxComboBox: no selection" );
+
return -1;
};
GtkLabel *label = GTK_LABEL( bin->child );
return label->label;
};
+
+ wxFAIL_MSG( "wxComboBox: wrong index" );
+
return "";
};
wxString tmp = GTK_LABEL( bin->child )->label;
return tmp;
};
+
+ wxFAIL_MSG( "wxComboBox: no selection" );
+
return "";
};