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:
Vadim Zeitlin 2001-07-20 11:59:46 +00:00
parent 3f0f016135
commit 0510b4bbee
2 changed files with 1 additions and 5 deletions

View File

@ -19,8 +19,6 @@
#include "wx/control.h"
#include "wx/event.h"
#if defined(__WIN95__)
class WXDLLEXPORT wxSpinButton : public wxSpinButtonBase
{
public:
@ -68,7 +66,5 @@ private:
DECLARE_DYNAMIC_CLASS(wxSpinButton)
};
#endif
// __WIN95__
#endif
// _WX_SPINBUTT_H_

View File

@ -76,7 +76,7 @@ protected:
#if defined(__WXUNIVERSAL__)
#include "wx/univ/spinbutt.h"
#elif defined(__WXMSW__)
#elif defined(__WXMSW__) && defined(__WIN95__)
#include "wx/msw/spinbutt.h"
#elif defined(__WXMOTIF__)
#include "wx/motif/spinbutt.h"