projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CW Win32 support
[wxWidgets.git]
/
include
/
wx
/
msw
/
checklst.h
diff --git
a/include/wx/msw/checklst.h
b/include/wx/msw/checklst.h
index 51bd9f0a77461aea58584e90a56be4400fe9398e..a58714daa6e2484166c8a11e8a4ef15e06e180bb 100644
(file)
--- a/
include/wx/msw/checklst.h
+++ b/
include/wx/msw/checklst.h
@@
-6,19
+6,19
@@
// Created: 16.11.97
// RCS-ID: $Id$
// Copyright: (c) 1998 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
// Created: 16.11.97
// RCS-ID: $Id$
// Copyright: (c) 1998 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
-// Licence: wxWindows licen
s
e
+// Licence: wxWindows licen
c
e
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
-#ifndef __CHECKLST_
H_
_
-#define __CHECKLST_
H_
_
+#ifndef __CHECKLST_
_H
_
+#define __CHECKLST_
_H
_
#ifdef __GNUG__
#pragma interface "checklst.h"
#endif
#ifdef __GNUG__
#pragma interface "checklst.h"
#endif
-typedef unsigned int
uin
t;
+typedef unsigned int
size_
t;
-#if !USE_OWNER_DRAWN
+#if !
wx
USE_OWNER_DRAWN
#error "wxCheckListBox class requires owner-drawn functionality."
#endif
#error "wxCheckListBox class requires owner-drawn functionality."
#endif
@@
-41,16
+41,16
@@
public:
// const wxFont& font = wxNullFont);
// items may be checked
// const wxFont& font = wxNullFont);
// items may be checked
- bool IsChecked(
uin
t uiIndex) const;
- void Check(
uin
t uiIndex, bool bCheck = TRUE);
+ bool IsChecked(
size_
t uiIndex) const;
+ void Check(
size_
t uiIndex, bool bCheck = TRUE);
// accessors
// accessors
-
uin
t GetItemHeight() const { return m_nItemHeight; }
+
size_
t GetItemHeight() const { return m_nItemHeight; }
protected:
// we create our items ourselves and they have non-standard size,
// so we need to override these functions
protected:
// we create our items ourselves and they have non-standard size,
// so we need to override these functions
- virtual wxOwnerDrawn *CreateItem(
uin
t n);
+ virtual wxOwnerDrawn *CreateItem(
size_
t n);
virtual bool MSWOnMeasure(WXMEASUREITEMSTRUCT *item);
// pressing space or clicking the check box toggles the item
virtual bool MSWOnMeasure(WXMEASUREITEMSTRUCT *item);
// pressing space or clicking the check box toggles the item
@@
-58,7
+58,7
@@
protected:
void OnLeftClick(wxMouseEvent& event);
private:
void OnLeftClick(wxMouseEvent& event);
private:
-
uin
t m_nItemHeight; // height of checklistbox items (the same for all)
+
size_
t m_nItemHeight; // height of checklistbox items (the same for all)
DECLARE_EVENT_TABLE()
};
DECLARE_EVENT_TABLE()
};