projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Applied remainder of patch #876969: "Fixes to Borland warnings".
[wxWidgets.git]
/
src
/
mac
/
spinbutt.cpp
diff --git
a/src/mac/spinbutt.cpp
b/src/mac/spinbutt.cpp
index 0f4faca5784170109e30e0efccc211e515a43ff0..f8dcca8bd9ad8ab8c3e5a42cb6df012b01bbdd30 100644
(file)
--- a/
src/mac/spinbutt.cpp
+++ b/
src/mac/spinbutt.cpp
@@
-38,6
+38,10
@@
wxSpinButton::wxSpinButton()
bool wxSpinButton::Create(wxWindow *parent, wxWindowID id, const wxPoint& pos, const wxSize& size,
long style, const wxString& name)
{
bool wxSpinButton::Create(wxWindow *parent, wxWindowID id, const wxPoint& pos, const wxSize& size,
long style, const wxString& name)
{
+ if ( !wxSpinButtonBase::Create(parent, id, pos, size,
+ style, wxDefaultValidator, name) )
+ return false;
+
m_min = 0;
m_max = 100;
m_min = 0;
m_max = 100;
@@
-147,7
+151,7
@@
void wxSpinButton::MacHandleValueChanged( int inc )
}
}
}
}
-void wxSpinButton::MacHandleControlClick( WXWidget control , wxInt16 controlpart )
+void wxSpinButton::MacHandleControlClick( WXWidget control , wxInt16 controlpart
, bool WXUNUSED(mouseStillDown)
)
{
if ( (ControlHandle) m_macControl == NULL )
return ;
{
if ( (ControlHandle) m_macControl == NULL )
return ;