X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2e1f50128a73bd61db8ee0077b631ada9486158a..66c2bf7b1d9326fb650acfaae22ec50528cfbf7c:/include/wx/gtk/statbox.h diff --git a/include/wx/gtk/statbox.h b/include/wx/gtk/statbox.h index 90c5abc8c3..80dbb7f594 100644 --- a/include/wx/gtk/statbox.h +++ b/include/wx/gtk/statbox.h @@ -1,14 +1,13 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: wx/gtk/stabox.h +// Name: wx/gtk/statbox.h // Purpose: // Author: Robert Roebling -// Id: $Id$ // Copyright: (c) 1998 Robert Roebling // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifndef __GTKSTATICBOXH__ -#define __GTKSTATICBOXH__ +#ifndef _WX_GTKSTATICBOX_H_ +#define _WX_GTKSTATICBOX_H_ //----------------------------------------------------------------------------- // wxStaticBox @@ -40,16 +39,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_