test for __WIN95__ in the main header, not platform-sepcific one for consistency with the other classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -19,8 +19,6 @@
|
|||||||
#include "wx/control.h"
|
#include "wx/control.h"
|
||||||
#include "wx/event.h"
|
#include "wx/event.h"
|
||||||
|
|
||||||
#if defined(__WIN95__)
|
|
||||||
|
|
||||||
class WXDLLEXPORT wxSpinButton : public wxSpinButtonBase
|
class WXDLLEXPORT wxSpinButton : public wxSpinButtonBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@@ -68,7 +66,5 @@ private:
|
|||||||
DECLARE_DYNAMIC_CLASS(wxSpinButton)
|
DECLARE_DYNAMIC_CLASS(wxSpinButton)
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
// __WIN95__
|
|
||||||
#endif
|
#endif
|
||||||
// _WX_SPINBUTT_H_
|
// _WX_SPINBUTT_H_
|
||||||
|
@@ -76,7 +76,7 @@ protected:
|
|||||||
|
|
||||||
#if defined(__WXUNIVERSAL__)
|
#if defined(__WXUNIVERSAL__)
|
||||||
#include "wx/univ/spinbutt.h"
|
#include "wx/univ/spinbutt.h"
|
||||||
#elif defined(__WXMSW__)
|
#elif defined(__WXMSW__) && defined(__WIN95__)
|
||||||
#include "wx/msw/spinbutt.h"
|
#include "wx/msw/spinbutt.h"
|
||||||
#elif defined(__WXMOTIF__)
|
#elif defined(__WXMOTIF__)
|
||||||
#include "wx/motif/spinbutt.h"
|
#include "wx/motif/spinbutt.h"
|
||||||
|
Reference in New Issue
Block a user