projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make wxCocoa work with wxUSE_STL==1:
[wxWidgets.git]
/
include
/
wx
/
mac
/
slider.h
diff --git
a/include/wx/mac/slider.h
b/include/wx/mac/slider.h
index db747cda720c552e9d0110d20d542a8b2cbbdc94..9599a60c10ba14943c24b1dbaa80e195e144490b 100644
(file)
--- a/
include/wx/mac/slider.h
+++ b/
include/wx/mac/slider.h
@@
-12,7
+12,7
@@
#ifndef _WX_SLIDER_H_
#define _WX_SLIDER_H_
#ifndef _WX_SLIDER_H_
#define _WX_SLIDER_H_
-#if defined(__GNUG__) && !defined(
__APPLE__
)
+#if defined(__GNUG__) && !defined(
NO_GCC_PRAGMA
)
#pragma interface "slider.h"
#endif
#pragma interface "slider.h"
#endif
@@
-59,6
+59,9
@@
public:
inline int GetMin() const { return m_rangeMin; }
inline int GetMax() const { return m_rangeMax; }
inline int GetMin() const { return m_rangeMin; }
inline int GetMax() const { return m_rangeMax; }
+ void SetMin(int minValue) { SetRange(minValue, m_rangeMax); }
+ void SetMax(int maxValue) { SetRange(m_rangeMin, maxValue); }
+
// For trackbars only
void SetTickFreq(int n, int pos);
inline int GetTickFreq() const { return m_tickFreq; }
// For trackbars only
void SetTickFreq(int n, int pos);
inline int GetTickFreq() const { return m_tickFreq; }