]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/bmpbuttn.cpp
test for disabled scroll directions in kbd handler
[wxWidgets.git] / src / gtk / bmpbuttn.cpp
index 691e6912d7b7fc982903e1a49f89386766a0a2a5..32ac3f8575e43d1d0af43d91bf273fefc594479a 100644 (file)
@@ -15,8 +15,8 @@
 
 #if wxUSE_BMPBUTTON
 
-#include "gdk/gdk.h"
-#include "gtk/gtk.h"
+#include <gdk/gdk.h>
+#include <gtk/gtk.h>
 
 //-----------------------------------------------------------------------------
 // classes
@@ -43,7 +43,8 @@ extern bool   g_blockEventsOnDrag;
 
 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;
@@ -217,15 +218,15 @@ void wxBitmapButton::SetBitmap()
     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;
         }
     }