Source cleaning: whitespaces, -1/wxID_ANY/wxNOT_FOUND, TRUE/true, FALSE/false.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2004-09-17 17:57:44 +00:00
parent 9133965ef5
commit f644b28c11
9 changed files with 206 additions and 206 deletions

View File

@@ -41,7 +41,7 @@ class WXDLLEXPORT wxListView : public wxListCtrl
public:
wxListView() { }
wxListView( wxWindow *parent,
wxWindowID winid = -1,
wxWindowID winid = wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxLC_REPORT,
@@ -55,7 +55,7 @@ public:
// ---------------------
// [de]select an item
void Select(long n, bool on = TRUE)
void Select(long n, bool on = true)
{
SetItemState(n, on ? wxLIST_STATE_SELECTED : 0, wxLIST_STATE_SELECTED);
}
@@ -79,7 +79,7 @@ public:
long GetFirstSelected() const
{ return GetNextSelected(-1); }
// return TRUE if the item is selected
// return true if the item is selected
bool IsSelected(long index)
{ return GetItemState(index, wxLIST_STATE_SELECTED) != 0; }