projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Get rid of wxFontMapper in wxBase library.
[wxWidgets.git]
/
include
/
wx
/
gtk
/
gauge.h
diff --git
a/include/wx/gtk/gauge.h
b/include/wx/gtk/gauge.h
index f014fcf379cc7d90bb5eaa9cf173028663688c87..e00e65d934a7c605f57b6bd3cf3de584390bf44e 100644
(file)
--- a/
include/wx/gtk/gauge.h
+++ b/
include/wx/gtk/gauge.h
@@
-75,18
+75,21
@@
public:
int GetRange() const;
int GetValue() const;
int GetRange() const;
int GetValue() const;
+ bool IsVertical() const { return HasFlag(wxGA_VERTICAL); }
+
+ static wxVisualAttributes
+ GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
+
// implementation
// -------------
// implementation
// -------------
- void ApplyWidgetStyle();
-
// the max and current gauge values
int m_rangeMax,
m_gaugePos;
// obsolete functions, don't use
// the max and current gauge values
int m_rangeMax,
m_gaugePos;
// obsolete functions, don't use
-#if
def
WXWIN_COMPATIBILITY_2_2
- bool GetProgressBar() const { return
TRUE
; }
+#if WXWIN_COMPATIBILITY_2_2
+ bool GetProgressBar() const { return
true
; }
#endif // WXWIN_COMPATIBILITY_2_2
protected:
#endif // WXWIN_COMPATIBILITY_2_2
protected:
@@
-96,6
+99,10
@@
protected:
// set the gauge value to the value of m_gaugePos
void DoSetGauge();
// set the gauge value to the value of m_gaugePos
void DoSetGauge();
+ virtual wxSize DoGetBestSize() const;
+
+ virtual wxVisualAttributes GetDefaultAttributes() const;
+
private:
DECLARE_DYNAMIC_CLASS(wxGauge)
};
private:
DECLARE_DYNAMIC_CLASS(wxGauge)
};