projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed broken 'hidden categories' mode (aka. alphabetic mode); Added distinct names...
[wxWidgets.git]
/
include
/
wx
/
msw
/
spinctrl.h
diff --git
a/include/wx/msw/spinctrl.h
b/include/wx/msw/spinctrl.h
index 2a5f56f5c0fe13779756482577cc7910791d1957..8f200c0267879b1c38ac2be2ea5faea850d81274 100644
(file)
--- a/
include/wx/msw/spinctrl.h
+++ b/
include/wx/msw/spinctrl.h
@@
-18,7
+18,7
@@
#include "wx/dynarray.h"
#include "wx/dynarray.h"
-class WXDLL
EXPORT
wxSpinCtrl;
+class WXDLL
IMPEXP_FWD_CORE
wxSpinCtrl;
WX_DEFINE_EXPORTED_ARRAY_PTR(wxSpinCtrl *, wxArraySpins);
// ----------------------------------------------------------------------------
WX_DEFINE_EXPORTED_ARRAY_PTR(wxSpinCtrl *, wxArraySpins);
// ----------------------------------------------------------------------------
@@
-27,7
+27,7
@@
WX_DEFINE_EXPORTED_ARRAY_PTR(wxSpinCtrl *, wxArraySpins);
// control is clicked.
// ----------------------------------------------------------------------------
// control is clicked.
// ----------------------------------------------------------------------------
-class WXDLL
EXPORT
wxSpinCtrl : public wxSpinButton
+class WXDLL
IMPEXP_CORE
wxSpinCtrl : public wxSpinButton
{
public:
wxSpinCtrl() { }
{
public:
wxSpinCtrl() { }
@@
-73,6
+73,8
@@
public:
virtual bool Enable(bool enable = true);
virtual bool Show(bool show = true);
virtual bool Enable(bool enable = true);
virtual bool Show(bool show = true);
+ virtual bool Reparent(wxWindowBase *newParent);
+
// wxSpinButton doesn't accept focus, but we do
virtual bool AcceptsFocus() const { return wxWindow::AcceptsFocus(); }
// wxSpinButton doesn't accept focus, but we do
virtual bool AcceptsFocus() const { return wxWindow::AcceptsFocus(); }
@@
-92,12
+94,14
@@
protected:
virtual void DoMoveWindow(int x, int y, int width, int height);
virtual wxSize DoGetBestSize() const;
virtual void DoGetSize(int *width, int *height) const;
virtual void DoMoveWindow(int x, int y, int width, int height);
virtual wxSize DoGetBestSize() const;
virtual void DoGetSize(int *width, int *height) const;
+ virtual void DoGetClientSize(int *x, int *y) const;
#if wxUSE_TOOLTIPS
virtual void DoSetToolTip( wxToolTip *tip );
#endif // wxUSE_TOOLTIPS
#if wxUSE_TOOLTIPS
virtual void DoSetToolTip( wxToolTip *tip );
#endif // wxUSE_TOOLTIPS
- // the handler for wxSpinButton events
- void OnSpinChange(wxSpinEvent& event);
+ virtual bool MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result);
+ virtual bool MSWOnScroll(int orientation, WXWORD wParam,
+ WXWORD pos, WXHWND control);
// handle processing of special keys
void OnChar(wxKeyEvent& event);
// handle processing of special keys
void OnChar(wxKeyEvent& event);
@@
-119,6
+123,9
@@
protected:
WXHWND m_hwndBuddy;
WXFARPROC m_wndProcBuddy;
WXHWND m_hwndBuddy;
WXFARPROC m_wndProcBuddy;
+ // Block text update event after SetValue()
+ bool m_blockEvent;
+
// all existing wxSpinCtrls - this allows to find the one corresponding to
// the given buddy window in GetSpinForTextCtrl()
static wxArraySpins ms_allSpins;
// all existing wxSpinCtrls - this allows to find the one corresponding to
// the given buddy window in GetSpinForTextCtrl()
static wxArraySpins ms_allSpins;