X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c4f4cf895c1576d2c474a8ebec5d3ee01b98d5f7..c27bcbd5a7cec9f03b15c69824da99c5bb75924a:/include/wx/os2/listctrl.h diff --git a/include/wx/os2/listctrl.h b/include/wx/os2/listctrl.h index cf8e8bf861..e2400943dd 100644 --- a/include/wx/os2/listctrl.h +++ b/include/wx/os2/listctrl.h @@ -1,3 +1,14 @@ +/////////////////////////////////////////////////////////////////////////////// +// Name: wx/os2/listctrl.h +// Purpose: wxListCtrl class +// Author: +// Modified by: +// Created: +// RCS-ID: $Id$ +// Copyright: (c) wxWidgets team +// Licence: wxWindows licence +/////////////////////////////////////////////////////////////////////////////// + #ifndef _WX_LISTCTRL_H_ #define _WX_LISTCTRL_H_ @@ -27,7 +38,7 @@ public: ,const wxSize& rSize = wxDefaultSize ,long lStyle = wxLC_ICON ,const wxValidator& rValidator = wxDefaultValidator - ,const wxString& rsName = _T("wxListCtrl")) + ,const wxString& rsName = wxListCtrlNameStr) { Init(); Create( pParent @@ -47,7 +58,7 @@ public: ,const wxSize& rSize = wxDefaultSize ,long lStyle = wxLC_ICON ,const wxValidator& rValidator = wxDefaultValidator - ,const wxString& rsName = _T("wxListCtrl") + ,const wxString& rsName = wxListCtrlNameStr ); @@ -87,6 +98,7 @@ public: // int GetCountPerPage(void) const; + wxRect GetViewRect() const; // // Gets the edit control for editing labels. // @@ -172,7 +184,7 @@ public: // // Retrieves the spacing between icons in pixels. - // If small is TRUE, gets the spacing for the small icon + // If bIsSmall is true, gets the spacing for the small icon // view, otherwise the large icon view. // int GetItemSpacing(bool bIsSmall) const; @@ -213,7 +225,7 @@ public: // // Add or remove a single window style void SetSingleStyle( long lStyle - ,bool bAdd = TRUE + ,bool bAdd = true ); // @@ -316,7 +328,7 @@ public: // long FindItem( long lStart ,const wxString& rsStr - ,bool bPartial = FALSE + ,bool bPartial = false ); // @@ -431,7 +443,7 @@ public: void UpdateStyle(void); // - // Implementation: converts wxWindows style to MSW style. + // Implementation: converts wxWidgets style to MSW style. // Can be a single style flag or a bit list. // oldStyle is 'normalised' so that it doesn't contain // conflicting styles. @@ -475,12 +487,12 @@ protected: // keep track of inserted/deleted columns // - // TRUE if we have any internal data (user data & attributes) + // true if we have any internal data (user data & attributes) // bool m_bAnyInternalData; // - // TRUE if we have any items with custom attributes + // true if we have any items with custom attributes // bool m_bHasAnyAttr;