X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..14b44999eb335f3fc84b4362980b1730b8887588:/include/wx/gtk/statbox.h diff --git a/include/wx/gtk/statbox.h b/include/wx/gtk/statbox.h index f0f1b2ff0e..1edbbd9b2f 100644 --- a/include/wx/gtk/statbox.h +++ b/include/wx/gtk/statbox.h @@ -7,19 +7,14 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - -#ifndef __GTKSTATICBOXH__ -#define __GTKSTATICBOXH__ - -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface -#endif +#ifndef _WX_GTKSTATICBOX_H_ +#define _WX_GTKSTATICBOX_H_ //----------------------------------------------------------------------------- // wxStaticBox //----------------------------------------------------------------------------- -class wxStaticBox : public wxStaticBoxBase +class WXDLLIMPEXP_CORE wxStaticBox : public wxStaticBoxBase { public: wxStaticBox(); @@ -45,12 +40,19 @@ public: // implementation - virtual void ApplyWidgetStyle(); + virtual bool IsTransparentForMouse() 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); - virtual bool IsTransparentForMouse() const { return TRUE; } + void DoApplyWidgetStyle(GtkRcStyle *style); -private: DECLARE_DYNAMIC_CLASS(wxStaticBox) }; -#endif // __GTKSTATICBOXH__ +#endif // _WX_GTKSTATICBOX_H_