X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..9f728f8dba3da31745bb703bf6572df7f8dbb848:/include/wx/gtk/statbox.h?ds=sidebyside diff --git a/include/wx/gtk/statbox.h b/include/wx/gtk/statbox.h index 55a394bf62..437e1836f2 100644 --- a/include/wx/gtk/statbox.h +++ b/include/wx/gtk/statbox.h @@ -4,22 +4,17 @@ // Author: Robert Roebling // Id: $Id$ // Copyright: (c) 1998 Robert Roebling -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - #ifndef __GTKSTATICBOXH__ #define __GTKSTATICBOXH__ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface -#endif - //----------------------------------------------------------------------------- // wxStaticBox //----------------------------------------------------------------------------- -class wxStaticBox : public wxStaticBoxBase +class WXDLLIMPEXP_CORE wxStaticBox : public wxStaticBoxBase { public: wxStaticBox(); @@ -45,10 +40,16 @@ public: // implementation - virtual void ApplyWidgetStyle(); - virtual bool IsTransparentForMouse() const { return TRUE; } + virtual void GetBordersForSizer(int *borderTop, int *borderOther) const; + +protected: + virtual bool GTKWidgetNeedsMnemonic() const; + virtual void GTKWidgetDoSetMnemonic(GtkWidget* w); + + void DoApplyWidgetStyle(GtkRcStyle *style); + private: DECLARE_DYNAMIC_CLASS(wxStaticBox) };