projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed const operator[]s (should fix 1162115)
[wxWidgets.git]
/
include
/
wx
/
univ
/
slider.h
diff --git
a/include/wx/univ/slider.h
b/include/wx/univ/slider.h
index 729f68b5621bdc8f62236061b76ee34e83048f98..634085cf519978da8fdc07a2e9ef00aa7e17ec4e 100644
(file)
--- a/
include/wx/univ/slider.h
+++ b/
include/wx/univ/slider.h
@@
-9,7
+9,7
@@
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
-#if
def __GNUG__
+#if
defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "univslider.h"
#endif
#pragma interface "univslider.h"
#endif
@@
-114,7
+114,7
@@
public:
virtual void SetShaftPartState(wxScrollThumb::Shaft shaftPart,
int flag,
virtual void SetShaftPartState(wxScrollThumb::Shaft shaftPart,
int flag,
- bool set =
TRUE
);
+ bool set =
true
);
virtual void OnThumbDragStart(int pos);
virtual void OnThumbDrag(int pos);
virtual void OnThumbDragStart(int pos);
virtual void OnThumbDrag(int pos);
@@
-149,7
+149,7
@@
protected:
// normalize the value to fit in the range
int NormalizeValue(int value) const;
// normalize the value to fit in the range
int NormalizeValue(int value) const;
- // change the value by the given increment, return
TRUE
if really changed
+ // change the value by the given increment, return
true
if really changed
bool ChangeValueBy(int inc);
// change the value to the given one
bool ChangeValueBy(int inc);
// change the value to the given one