X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5267aefd85739afd26bd19bfba998005119db446..9e9574fe45b176ee74bba8fad7574cf9906145d1:/interface/wx/spinbutt.h diff --git a/interface/wx/spinbutt.h b/interface/wx/spinbutt.h index 2465c5bef4..c903ed6727 100644 --- a/interface/wx/spinbutt.h +++ b/interface/wx/spinbutt.h @@ -2,8 +2,7 @@ // Name: spinbutt.h // Purpose: interface of wxSpinEvent, wxSpinButton // Author: wxWidgets team -// RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -77,7 +76,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)} @@ -92,7 +91,7 @@ public: @library{wxcore} @category{ctrl} - @appearance{spinbutton.png} + @appearance{spinbutton} @see wxSpinCtrl */ @@ -113,10 +112,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 +123,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"); /** @@ -141,7 +140,8 @@ public: */ bool Create(wxWindow* parent, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition, - const wxSize& size = wxDefaultSize, long style = wxSP_HORIZONTAL, + const wxSize& size = wxDefaultSize, + long style = wxSP_VERTICAL, const wxString& name = "wxSpinButton"); /**