/////////////////////////////////////////////////////////////////////////////// // Name: src/gtk/infobar.cpp // Purpose: wxInfoBar implementation for GTK // Author: Vadim Zeitlin // Created: 2009-09-27 // RCS-ID: $Id: wxhead.cpp,v 1.10 2009-06-29 10:23:04 zeitlin Exp $ // Copyright: (c) 2009 Vadim Zeitlin // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// // ============================================================================ // declarations // ============================================================================ // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- // for compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" #ifdef __BORLANDC__ #pragma hdrstop #endif #include "wx/infobar.h" #if wxUSE_INFOBAR && defined(wxHAS_NATIVE_INFOBAR) #ifndef WX_PRECOMP #endif // WX_PRECOMP #include "wx/vector.h" #include "wx/gtk/private.h" #include "wx/gtk/private/messagetype.h" // ---------------------------------------------------------------------------- // local classes // ---------------------------------------------------------------------------- class wxInfoBarGTKImpl { public: wxInfoBarGTKImpl() { m_label = NULL; } GtkWidget *m_label; struct Button { Button(GtkWidget *button_, int id_) : button(button_), id(id_) { } GtkWidget *button; int id; }; typedef wxVector