X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/92153555cf08cc818d6f4becfc1576d9c2add023..5caf524dff950e9c312f32788b09d701b3b4f3ca:/include/wx/gtk/window.h diff --git a/include/wx/gtk/window.h b/include/wx/gtk/window.h index f3639f2c8c..6189983885 100644 --- a/include/wx/gtk/window.h +++ b/include/wx/gtk/window.h @@ -323,8 +323,8 @@ protected: virtual void DoFreeze(); virtual void DoThaw(); - static void GTKFreezeWidget(GtkWidget *w); - static void GTKThawWidget(GtkWidget *w); + void GTKFreezeWidget(GtkWidget *w); + void GTKThawWidget(GtkWidget *w); #if wxUSE_TOOLTIPS virtual void DoSetToolTip( wxToolTip *tip ); @@ -363,6 +363,12 @@ protected: // should be called from OnInternalIdle() if it's overridden void GTKUpdateCursor(); + // Connect the given function to the specified signal on m_widget. + // + // This is just a wrapper for g_signal_connect() and returns the handler id + // just as it does. + gulong GTKConnectWidget(const char *signal, void (*callback)()); + // Return true from here if PostCreation() should connect to size_request // signal: this is done by default but doesn't work for some native // controls which override this function to return false