projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Test using wxString::ToCDouble() in wxAny.
[wxWidgets.git]
/
include
/
wx
/
os2
/
spinctrl.h
diff --git
a/include/wx/os2/spinctrl.h
b/include/wx/os2/spinctrl.h
index bc1973af98a0633e9e4d5f7134a535f210777ac9..18c478c72f642599601c0891fc533ea64ca3a0f4 100644
(file)
--- a/
include/wx/os2/spinctrl.h
+++ b/
include/wx/os2/spinctrl.h
@@
-1,12
+1,12
@@
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
-// Name:
msw
/spinctrl.h
+// Name:
wx/os2
/spinctrl.h
// Purpose: wxSpinCtrl class declaration for Win32
// Author: David Webster
// Modified by:
// Created: 10/15/99
// RCS-ID: $Id$
// Copyright: (c) David Webster
// Purpose: wxSpinCtrl class declaration for Win32
// Author: David Webster
// Modified by:
// Created: 10/15/99
// RCS-ID: $Id$
// Copyright: (c) David Webster
-// Licence: wxWi
dget
s licence
+// Licence: wxWi
ndow
s licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_MSW_SPINCTRL_H_
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_MSW_SPINCTRL_H_
@@
-14,8
+14,8
@@
#include "wx/spinbutt.h" // the base class
#include "wx/dynarray.h"
#include "wx/spinbutt.h" // the base class
#include "wx/dynarray.h"
-class WXDLL
EXPORT
wxSpinCtrl;
-WX_DEFINE_EXPORTED_ARRAY(wxSpinCtrl *, wxArraySpins);
+class WXDLL
IMPEXP_FWD_CORE
wxSpinCtrl;
+WX_DEFINE_EXPORTED_ARRAY
_PTR
(wxSpinCtrl *, wxArraySpins);
// ----------------------------------------------------------------------------
// Under Win32 and OS2 PM, wxSpinCtrl is a wxSpinButton with a buddy
// ----------------------------------------------------------------------------
// Under Win32 and OS2 PM, wxSpinCtrl is a wxSpinButton with a buddy
@@
-23,12
+23,12
@@
WX_DEFINE_EXPORTED_ARRAY(wxSpinCtrl *, wxArraySpins);
// control is clicked.
// ----------------------------------------------------------------------------
// control is clicked.
// ----------------------------------------------------------------------------
-class WXDLL
EXPORT
wxSpinCtrl : public wxSpinButton
+class WXDLL
IMPEXP_CORE
wxSpinCtrl : public wxSpinButton
{
public:
wxSpinCtrl() { }
wxSpinCtrl( wxWindow* pParent
{
public:
wxSpinCtrl() { }
wxSpinCtrl( wxWindow* pParent
- ,wxWindowID vId =
-1
+ ,wxWindowID vId =
wxID_ANY
,const wxString& rsValue = wxEmptyString
,const wxPoint& rPos = wxDefaultPosition
,const wxSize& rSize = wxDefaultSize
,const wxString& rsValue = wxEmptyString
,const wxPoint& rPos = wxDefaultPosition
,const wxSize& rSize = wxDefaultSize
@@
-36,7
+36,7
@@
public:
,int nMin = 0
,int nMax = 100
,int nInitial = 0
,int nMin = 0
,int nMax = 100
,int nInitial = 0
- ,const wxString& rsName =
_
T("wxSpinCtrl")
+ ,const wxString& rsName =
wx
T("wxSpinCtrl")
)
{
Create(pParent, vId, rsValue, rPos, rSize, lStyle, nMin, nMax, nInitial, rsName);
)
{
Create(pParent, vId, rsValue, rPos, rSize, lStyle, nMin, nMax, nInitial, rsName);
@@
-44,7
+44,7
@@
public:
virtual ~wxSpinCtrl();
bool Create(wxWindow* pParent
virtual ~wxSpinCtrl();
bool Create(wxWindow* pParent
- ,wxWindowID vId =
-1
+ ,wxWindowID vId =
wxID_ANY
,const wxString& rsValue = wxEmptyString
,const wxPoint& rPos = wxDefaultPosition
,const wxSize& rSize = wxDefaultSize
,const wxString& rsValue = wxEmptyString
,const wxPoint& rPos = wxDefaultPosition
,const wxSize& rSize = wxDefaultSize
@@
-52,7
+52,7
@@
public:
,int nMin = 0
,int nMax = 100
,int nInitial = 0
,int nMin = 0
,int nMax = 100
,int nInitial = 0
- ,const wxString& rsName =
_
T("wxSpinCtrl")
+ ,const wxString& rsName =
wx
T("wxSpinCtrl")
);
//
);
//
@@
-65,23
+65,23
@@
public:
// implementation only from now on
// -------------------------------
//
// implementation only from now on
// -------------------------------
//
- virtual
bool Enable(bool bEnable = TRUE
);
+ virtual
bool Enable(bool bEnable = true
);
- virtual int GetValue(void) const;
+ virtual int GetValue(void) const;
+
+ virtual bool SetFont(const wxFont &rFont);
+ virtual void SetFocus(void);
- virtual bool SetFont(const wxFont &rFont);
- virtual void SetFocus(void);
inline virtual void SetValue(int nVal) { wxSpinButton::SetValue(nVal); }
inline virtual void SetValue(int nVal) { wxSpinButton::SetValue(nVal); }
- void SetSelection( long lFrom
- ,long lTo
- );
- virtual bool Show(bool bShow = TRUE);
+ void SetSelection(long lFrom, long lTo);
+
+ virtual bool Show(bool bShow = true);
//
// wxSpinButton doesn't accept focus, but we do
//
//
// wxSpinButton doesn't accept focus, but we do
//
- inline virtual bool AcceptsFocus(void) const { return
FALSE
; }
+ inline virtual bool AcceptsFocus(void) const { return
false
; }
//
// Return the spinctrl object whose buddy is the given window or NULL
//
// Return the spinctrl object whose buddy is the given window or NULL
@@
-126,5
+126,3
@@
private:
}; // end of CLASS wxSpinCtrl
#endif // _WX_MSW_SPINCTRL_H_
}; // end of CLASS wxSpinCtrl
#endif // _WX_MSW_SPINCTRL_H_
-
-