X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..fba05595e6cca40763f8ead119c7ad61cb01e0e4:/include/wx/mac/carbon/statbox.h diff --git a/include/wx/mac/carbon/statbox.h b/include/wx/mac/carbon/statbox.h index 6dd85bf43d..f0b2bbd7b2 100644 --- a/include/wx/mac/carbon/statbox.h +++ b/include/wx/mac/carbon/statbox.h @@ -12,13 +12,9 @@ #ifndef _WX_STATBOX_H_ #define _WX_STATBOX_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "statbox.h" -#endif - #include "wx/control.h" -WXDLLEXPORT_DATA(extern const wxChar*) wxStaticBoxNameStr; +WXDLLEXPORT_DATA(extern const wxChar) wxStaticBoxNameStr[]; // Group box class WXDLLEXPORT wxStaticBox: public wxControl @@ -47,8 +43,9 @@ class WXDLLEXPORT wxStaticBox: public wxControl virtual void Command(wxCommandEvent& WXUNUSED(event)) {}; virtual void ProcessCommand(wxCommandEvent& WXUNUSED(event)) {}; - -protected: + virtual void GetBordersForSizer(int *borderTop, int *borderOther) const; + + virtual bool AcceptsFocus() const { return false; } }; #endif