]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/button.cpp
old makefiles removed
[wxWidgets.git] / src / gtk / button.cpp
index 7e93cc3f9213e7a14351eb0ecd86afde6fca7c5e..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->HasVMT()) return;
+    if (!button->m_hasVMT) return;
     if (g_blockEventsOnDrag) return;
-  
+    
     wxCommandEvent event(wxEVT_COMMAND_BUTTON_CLICKED, button->GetId());
     event.SetEventObject(button);
     button->GetEventHandler()->ProcessEvent(event);