X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/02bad8305c130cd70a8a23328a4c4c8dacbb622b..03773e400b6ff2692f2a9ba045d652c3b7b7109d:/include/wx/gtk/window.h diff --git a/include/wx/gtk/window.h b/include/wx/gtk/window.h index d34f5b1de8..fb342e9a0b 100644 --- a/include/wx/gtk/window.h +++ b/include/wx/gtk/window.h @@ -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: