X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3c299c3ab663257429983c24e6fb71450f3cf9f1..333e57d578e9e0fb6555452b5a53698ffd85ee69:/include/wx/os2/statline.h?ds=sidebyside diff --git a/include/wx/os2/statline.h b/include/wx/os2/statline.h index a0142e87b6..76625e51ca 100644 --- a/include/wx/os2/statline.h +++ b/include/wx/os2/statline.h @@ -11,10 +11,6 @@ #ifndef _WX_OS2_STATLINE_H_ #define _WX_OS2_STATLINE_H_ -#ifdef __GNUG__ - #pragma interface -#endif - // ---------------------------------------------------------------------------- // wxStaticLine // ---------------------------------------------------------------------------- @@ -26,22 +22,22 @@ 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); } @@ -74,6 +70,13 @@ protected: inline wxSize DoGetBestSize(void) const { return (AdjustSize(wxDefaultSize)); } + // + // Usually overridden base class virtuals + // + virtual WXDWORD OS2GetStyle( long lStyle + ,WXDWORD* pdwExstyle + ) const; + private: DECLARE_DYNAMIC_CLASS(wxStaticLine) }; // end of CLASS wxStaticLine