More changes to various controls for more reliably

preventing them from emitting event when their
     state was changed programatically.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2001-11-17 23:50:58 +00:00
parent bc87fd68e3
commit 9864c56ded
16 changed files with 74 additions and 72 deletions

View File

@@ -54,6 +54,8 @@ public:
GtkWidget *m_widgetCheckbox;
GtkWidget *m_widgetLabel;
bool m_blockEvent;
protected:
virtual wxSize DoGetBestSize() const;

View File

@@ -50,6 +50,8 @@ public:
bool IsOwnGtkWindow( GdkWindow *window );
void OnInternalIdle();
bool m_blockEvent;
protected:
virtual wxSize DoGetBestSize() const;

View File

@@ -62,7 +62,7 @@ public:
GdkColor *m_fg;
GdkColor *m_bg;
bool m_blockNextEvent;
bool m_blockEvent;
void OnInternalIdle();

View File

@@ -63,12 +63,10 @@ public:
void SetLabel(const wxString& label);
bool Enable(bool enable = TRUE);
protected:
// Callback function given to gtk
static void gtk_togglebutton_clicked_callback(GtkWidget *widget,
wxToggleButton *win);
// implementation
bool m_blockEvent;
// wx stuff
void ApplyWidgetStyle();
bool IsOwnGtkWindow(GdkWindow *window);