X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7e59b88579c7a1e8b4da0827be75dc5d2a84ec73..3399af21d10d3f8ce4f39dfb29df5546ab265ef6:/interface/wx/spinbutt.h diff --git a/interface/wx/spinbutt.h b/interface/wx/spinbutt.h index 6de0b47996..d2d3c4ab1e 100644 --- a/interface/wx/spinbutt.h +++ b/interface/wx/spinbutt.h @@ -3,7 +3,7 @@ // Purpose: interface of wxSpinEvent, wxSpinButton // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -77,7 +77,7 @@ public: The value wraps at the minimum and maximum. @endStyleTable - @beginEventTable{wxSpinEvent} + @beginEventEmissionTable{wxSpinEvent} @event{EVT_SPIN(id, func)} Generated whenever an arrow is pressed. @event{EVT_SPIN_UP(id, func)} @@ -113,10 +113,10 @@ public: Window identifier. The value wxID_ANY indicates a default value. @param pos Window position. - If wxDefaultPosition is specified then a default position is chosen. + If ::wxDefaultPosition is specified then a default position is chosen. @param size Window size. - If wxDefaultSize is specified then a default size is chosen. + If ::wxDefaultSize is specified then a default size is chosen. @param style Window style. See wxSpinButton class description. @param name @@ -124,10 +124,10 @@ public: @see Create() */ - wxSpinButton(wxWindow* parent, wxWindowID id, + wxSpinButton(wxWindow* parent, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - long style = wxSP_HORIZONTAL, + long style = wxSP_VERTICAL, const wxString& name = "spinButton"); /** @@ -139,11 +139,11 @@ public: Scrollbar creation function called by the spin button constructor. See wxSpinButton() for details. */ - bool Create(wxWindow* parent, wxWindowID id, + bool Create(wxWindow* parent, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - long style = wxSP_HORIZONTAL, - const wxString& name = "spinButton"); + long style = wxSP_VERTICAL, + const wxString& name = "wxSpinButton"); /** Returns the maximum permissible value.