Remove wxOSX implementation of wxSpinCtrl and use the generic one.
wxOSX doesn't provide a native spinner+text control so it used a generic implementation of wxSpinCtrl but a different one to the version found in src/generic/spinctlg.cpp. Just use the real generic version instead, it doesn't make sense to have two different versions of the same generic control. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -113,9 +113,7 @@ typedef void (wxEvtHandler::*wxSpinDoubleEventFunction)(wxSpinDoubleEvent&);
|
||||
// wxSpinCtrlDouble implementations or neither, define the appropriate symbols
|
||||
// and include the generic version if necessary to provide the missing class(es)
|
||||
|
||||
#if defined(__WXUNIVERSAL__) || \
|
||||
defined(__WXMOTIF__) || \
|
||||
defined(__WXCOCOA__)
|
||||
#if defined(__WXUNIVERSAL__)
|
||||
// nothing, use generic controls
|
||||
#elif defined(__WXMSW__)
|
||||
#define wxHAS_NATIVE_SPINCTRL
|
||||
@@ -130,9 +128,6 @@ typedef void (wxEvtHandler::*wxSpinDoubleEventFunction)(wxSpinDoubleEvent&);
|
||||
#elif defined(__WXGTK__)
|
||||
#define wxHAS_NATIVE_SPINCTRL
|
||||
#include "wx/gtk1/spinctrl.h"
|
||||
#elif defined(__WXMAC__)
|
||||
#define wxHAS_NATIVE_SPINCTRL
|
||||
#include "wx/osx/spinctrl.h"
|
||||
#endif // platform
|
||||
|
||||
#if !defined(wxHAS_NATIVE_SPINCTRL) || !defined(wxHAS_NATIVE_SPINCTRLDOUBLE)
|
||||
|
Reference in New Issue
Block a user