]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/button.cpp
Fixed a minor bug in hotKey handling.
[wxWidgets.git] / src / gtk / button.cpp
index 254056d7700879a6f1a07246e39d71a916fc77d3..140e4380ef0b5baefad76bbb1d41cf0a8ea390c0 100644 (file)
@@ -41,11 +41,12 @@ extern bool   g_blockEventsOnDrag;
 
 static void gtk_button_clicked_callback( GtkWidget *WXUNUSED(widget), wxButton *button )
 {
-    if (g_isIdle) wxapp_install_idle_handler();
+    if (g_isIdle) 
+       wxapp_install_idle_handler();
 
     if (!button->m_hasVMT) return;
     if (g_blockEventsOnDrag) return;
-  
+    
     wxCommandEvent event(wxEVT_COMMAND_BUTTON_CLICKED, button->GetId());
     event.SetEventObject(button);
     button->GetEventHandler()->ProcessEvent(event);