corrected after wxUniv merge

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Gilles Depeyrot
2001-06-28 06:28:32 +00:00
parent 6c0ba0d02d
commit a842a96e24
2 changed files with 24 additions and 2 deletions

View File

@@ -12,19 +12,30 @@
#pragma implementation "spinctlg.h" #pragma implementation "spinctlg.h"
#endif #endif
#include "wx/spinctrl.h" #include "wx/defs.h"
#if wxUSE_SPINCTRL #if wxUSE_SPINCTRL
#include "wx/spinctrl.h"
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// wxSpinCtrl // wxSpinCtrl
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
#if wxUSE_SPINBTN
#if !USE_SHARED_LIBRARY
IMPLEMENT_DYNAMIC_CLASS(wxSpinCtrl,wxControl)
#endif
#else // !wxUSE_SPINBTN
#if !USE_SHARED_LIBRARY #if !USE_SHARED_LIBRARY
IMPLEMENT_DYNAMIC_CLASS(wxSpinCtrl,wxTextCtrl) IMPLEMENT_DYNAMIC_CLASS(wxSpinCtrl,wxTextCtrl)
#endif #endif
#endif // wxUSE_SPINBTN/!wxUSE_SPINBTN
#endif // wxUSE_SPINCTRL #endif // wxUSE_SPINCTRL

View File

@@ -12,19 +12,30 @@
#pragma implementation "spinctlg.h" #pragma implementation "spinctlg.h"
#endif #endif
#include "wx/spinctrl.h" #include "wx/defs.h"
#if wxUSE_SPINCTRL #if wxUSE_SPINCTRL
#include "wx/spinctrl.h"
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// wxSpinCtrl // wxSpinCtrl
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
#if wxUSE_SPINBTN
#if !USE_SHARED_LIBRARY
IMPLEMENT_DYNAMIC_CLASS(wxSpinCtrl,wxControl)
#endif
#else // !wxUSE_SPINBTN
#if !USE_SHARED_LIBRARY #if !USE_SHARED_LIBRARY
IMPLEMENT_DYNAMIC_CLASS(wxSpinCtrl,wxTextCtrl) IMPLEMENT_DYNAMIC_CLASS(wxSpinCtrl,wxTextCtrl)
#endif #endif
#endif // wxUSE_SPINBTN/!wxUSE_SPINBTN
#endif // wxUSE_SPINCTRL #endif // wxUSE_SPINCTRL