X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/92e164ff921b26a018c93f1e8d2e96aafcf6d690..0bf14ab8b14d3a999fe1159d2bec33740e066a53:/include/wx/gtk/spinctrl.h diff --git a/include/wx/gtk/spinctrl.h b/include/wx/gtk/spinctrl.h index 39dc35089b..f9924ed224 100644 --- a/include/wx/gtk/spinctrl.h +++ b/include/wx/gtk/spinctrl.h @@ -117,10 +117,10 @@ public: } // accessors - int GetValue() const { return wxRound( DoGetValue() ); } - int GetMin() const { return wxRound( DoGetMin() ); } - int GetMax() const { return wxRound( DoGetMax() ); } - int GetIncrement() const { return wxRound( DoGetIncrement() ); } + int GetValue() const { return int(DoGetValue()); } + int GetMin() const { return int(DoGetMin()); } + int GetMax() const { return int(DoGetMax()); } + int GetIncrement() const { return int(DoGetIncrement()); } // operations void SetValue(const wxString& value) { wxSpinCtrlGTKBase::SetValue(value); } // visibility problem w/ gcc