]> git.saurik.com Git - wxWidgets.git/commitdiff
test for __WIN95__ in the main header, not platform-sepcific one for consistency...
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 20 Jul 2001 11:59:46 +0000 (11:59 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 20 Jul 2001 11:59:46 +0000 (11:59 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/spinbutt.h
include/wx/spinbutt.h

index efccd153a3b89ee62147ddebe40cd90158665ca1..295ea3867daee2e43af908e926936491dc3d2a9d 100644 (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_
index b5a5bb221c94aa7aa3a30a81af34fbe6774523bd..e2c4fd53d626c7732afb0e275787a512cafc0d1d 100644 (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"