X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c1f50b06ec36d87bfe2c2f559b1b323121b922f8..14de8214d64262a0667f636ecc44f5994c50515d:/include/wx/gtk/statbox.h diff --git a/include/wx/gtk/statbox.h b/include/wx/gtk/statbox.h index 437e1836f2..77c3393310 100644 --- a/include/wx/gtk/statbox.h +++ b/include/wx/gtk/statbox.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: wx/gtk/stabox.h +// Name: wx/gtk/statbox.h // Purpose: // Author: Robert Roebling // Id: $Id$ @@ -7,8 +7,8 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifndef __GTKSTATICBOXH__ -#define __GTKSTATICBOXH__ +#ifndef _WX_GTKSTATICBOX_H_ +#define _WX_GTKSTATICBOX_H_ //----------------------------------------------------------------------------- // wxStaticBox @@ -40,18 +40,19 @@ public: // implementation - virtual bool IsTransparentForMouse() const { return TRUE; } + virtual bool GTKIsTransparentForMouse() const { return true; } virtual void GetBordersForSizer(int *borderTop, int *borderOther) const; + virtual void AddChild( wxWindowBase *child ); + protected: virtual bool GTKWidgetNeedsMnemonic() const; virtual void GTKWidgetDoSetMnemonic(GtkWidget* w); void DoApplyWidgetStyle(GtkRcStyle *style); - -private: + DECLARE_DYNAMIC_CLASS(wxStaticBox) }; -#endif // __GTKSTATICBOXH__ +#endif // _WX_GTKSTATICBOX_H_