X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..9c805dec6caf3c98a3797898cffe795b5b56e606:/include/wx/os2/statline.h diff --git a/include/wx/os2/statline.h b/include/wx/os2/statline.h index 3b2ff75484..5cddf0fc59 100644 --- a/include/wx/os2/statline.h +++ b/include/wx/os2/statline.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: msw/statline.h +// Name: wx/os2/statline.h // Purpose: MSW version of wxStaticLine class // Author: Vadim Zeitlin // Created: 28.06.99 @@ -11,44 +11,40 @@ #ifndef _WX_OS2_STATLINE_H_ #define _WX_OS2_STATLINE_H_ -#ifdef __GNUG__ - #pragma interface -#endif - // ---------------------------------------------------------------------------- // wxStaticLine // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxStaticLine : public wxStaticLineBase +class WXDLLIMPEXP_CORE wxStaticLine : public wxStaticLineBase { public: // constructors and pseudo-constructors wxStaticLine() { } wxStaticLine( wxWindow* pParent - ,wxWindowID vId + ,wxWindowID vId = wxID_ANY ,const wxPoint& rPos = wxDefaultPosition ,const wxSize& rSize = wxDefaultSize ,long lStyle = wxLI_HORIZONTAL - ,const wxString& rsName = wxStaticTextNameStr + ,const wxString& rsName = wxStaticLineNameStr ) { Create(pParent, vId, rPos, rSize, lStyle, rsName); } bool Create( wxWindow* pParent - ,wxWindowID vId + ,wxWindowID vId = wxID_ANY ,const wxPoint& rPos = wxDefaultPosition ,const wxSize& rSize = wxDefaultSize ,long lStyle = wxLI_HORIZONTAL - ,const wxString& rsName = wxStaticTextNameStr + ,const wxString& rsName = wxStaticLineNameStr ); inline bool IsVertical(void) const { return((GetWindowStyleFlag() & wxLI_VERTICAL) != 0); } inline static int GetDefaultSize(void) { return 2; } // - // Overriden base class virtuals + // Overridden base class virtuals // inline virtual bool AcceptsFocus(void) const {return FALSE;}