#if wxUSE_BMPBUTTON
-#include "gdk/gdk.h"
-#include "gtk/gtk.h"
+#include <gdk/gdk.h>
+#include <gtk/gtk.h>
//-----------------------------------------------------------------------------
// classes
static void gtk_bmpbutton_clicked_callback( GtkWidget *WXUNUSED(widget), wxBitmapButton *button )
{
- if (g_isIdle) wxapp_install_idle_handler();
+ if (g_isIdle)
+ wxapp_install_idle_handler();
if (!button->m_hasVMT) return;
if (g_blockEventsOnDrag) return;
else
{
if (m_isSelected)
- {
- the_one = m_selected;
- }
+ {
+ the_one = m_selected;
+ }
else
- {
+ {
if (m_hasFocus)
- the_one = m_focus;
+ the_one = m_focus;
else
- the_one = m_bitmap;
+ the_one = m_bitmap;
}
}