]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/tglbtn.h
replace the static control in wxMessageDialog with an edit control with a vertical...
[wxWidgets.git] / include / wx / gtk / tglbtn.h
index 1a656e6c09c55c87893d21493522f89a7a641f1c..38ae24ee7d2314e707e21a49cb4380bc81df5c66 100644 (file)
@@ -71,12 +71,14 @@ public:
     GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
 
     // implementation
-    bool      m_blockEvent;
     wxBitmap  m_bitmap;
 
     void OnSetBitmap();
 
 protected:
+    void GTKDisableEvents();
+    void GTKEnableEvents();
+    
     virtual wxSize DoGetBestSize() const;
     virtual void DoApplyWidgetStyle(GtkRcStyle *style);
     virtual GdkWindow *GTKGetWindow(wxArrayGdkWindows& windows) const;
@@ -126,10 +128,10 @@ public:
     static wxVisualAttributes
     GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
  
-    // implementation
-    bool m_blockEvent;
-
 protected:
+    void GTKDisableEvents();
+    void GTKEnableEvents();
+    
     virtual wxSize DoGetBestSize() const;
     virtual void DoApplyWidgetStyle(GtkRcStyle *style);
     virtual GdkWindow *GTKGetWindow(wxArrayGdkWindows& windows) const;