removed calls to wxWindowBase::InitBase(), it is called from the ctor anyhow (and so was called twice)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-10-30 23:08:39 +00:00
parent 8ccff7d211
commit 727953356d
13 changed files with 3 additions and 52 deletions

View File

@@ -39,7 +39,8 @@
class WXDLLEXPORT wxSpinButtonBase : public wxControl
{
public:
wxSpinButtonBase() { InitBase(); }
// ctor intiializes the range with the default (0..100) values
wxSpinButtonBase() { m_min = 0; m_max = 100; }
// accessors
virtual int GetValue() const = 0;
@@ -60,13 +61,6 @@ public:
bool IsVertical() const { return (m_windowStyle & wxSP_VERTICAL) != 0; }
protected:
// init the base part of the control
void InitBase()
{
m_min = 0;
m_max = 100;
}
// the range value
int m_min;
int m_max;