]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/spinbutt.cpp
Partial fix for big_endian image conversion probs.
[wxWidgets.git] / src / os2 / spinbutt.cpp
index 42fb9e768d17f6a9ce67d019db97c9822f1656a5..df775d9b3a950ca8443cbe0bb99d846826e71743 100644 (file)
@@ -51,9 +51,6 @@ bool wxSpinButton::Create(
 
     SetParent(parent);
 
-    m_min = 0;
-    m_max = 100;
-
     m_windowId = (id == -1) ? NewControlId() : id;
 
     // TODO create spin button
@@ -68,7 +65,7 @@ wxSpinButton::~wxSpinButton()
 // size calculation
 // ----------------------------------------------------------------------------
 
-wxSize wxSpinButton::DoGetBestSize()
+wxSize wxSpinButton::DoGetBestSize() const
 {
     // TODO:
 /*
@@ -150,7 +147,7 @@ bool wxSpinButton::OS2OnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result)
     return FALSE;
 }
 
-bool wxSpinButton::MSWCommand(WXUINT cmd, WXWORD id)
+bool wxSpinButton::OS2Command(WXUINT cmd, WXWORD id)
 {
     // No command messages
     return FALSE;