From: Robert Roebling Date: Thu, 26 Apr 2007 18:42:23 +0000 (+0000) Subject: Added IsOfStandardClass() as per wxMSW. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/da1bd25f2991b3075d311c29ee9d76a751a69346?ds=inline Added IsOfStandardClass() as per wxMSW. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/gtk/window.h b/include/wx/gtk/window.h index d879158435..5bcfb26b5c 100644 --- a/include/wx/gtk/window.h +++ b/include/wx/gtk/window.h @@ -260,6 +260,9 @@ public: GtkWidget *m_widget; // mostly the widget seen by the rest of GTK GtkWidget *m_wxwindow; // mostly the client area as per wxWidgets + // return true if the window is of a standard (i.e. not wxWidgets') class + bool IsOfStandardClass() const { return m_wxwindow == NULL; } + // this widget will be queried for GTK's focus events GtkWidget *m_focusWidget;