// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "combobox.h"
#endif
+#include "wx/wxprec.h"
+
#include "wx/combobox.h"
#include "wx/button.h"
#include "wx/menu.h"
// but this is less complicated than dealing with idle-ness, and is much better than nothing
void OnKeyUp( wxKeyEvent& event )
{
- if ( event.GetKeyCode() != WXK_RETURN )
+ if ( event.GetKeyCode() != WXK_RETURN && event.GetKeyCode() != WXK_TAB )
{
wxCommandEvent event(wxEVT_COMMAND_TEXT_UPDATED, m_cb->GetId());
event.SetString( GetValue() );