X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/02bad8305c130cd70a8a23328a4c4c8dacbb622b..5caf524dff950e9c312f32788b09d701b3b4f3ca:/include/wx/gtk/window.h diff --git a/include/wx/gtk/window.h b/include/wx/gtk/window.h index d34f5b1de8..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,17 @@ 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 + virtual bool GTKShouldConnectSizeRequest() const { return !IsTopLevel(); } + void ConstrainSize(); private: