]> git.saurik.com Git - wxWidgets.git/commitdiff
__WIN95__ removed (used to differ win3.1 vs. 'modern' 95 look, nowadays always define...
authorWłodzimierz Skiba <abx@abx.art.pl>
Mon, 19 Dec 2005 10:55:11 +0000 (10:55 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Mon, 19 Dec 2005 10:55:11 +0000 (10:55 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/samples/ogl/studio/mainfrm.cpp
include/wx/gauge.h
include/wx/msw/control.h
include/wx/msw/helpbest.h
include/wx/msw/window.h
include/wx/platform.h
include/wx/spinbutt.h

index cc4730c01f72e7ba512cad665e0560654d4a2b58..e5f97fc6749499d36dd0291255fcbde6fc661e4e 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        mainfrm.cpp
+// Name:        ogl/stufio/mainfrm.cpp
 // Purpose:     Studio main frame
 // Author:      Julian Smart
 // Modified by:
@@ -184,7 +184,7 @@ void csFrame::OnIdle(wxIdleEvent& event)
         wxLayoutAlgorithm layout;
         layout.LayoutMDIFrame(this);
 
-#if defined(__WXMSW__) && defined(__WIN95__)
+#if defined(__WXMSW__)
         // Need to do something else to get it to refresh properly
         // when a client frame is first displayed; moving the client
         // window doesn't cause the proper refresh. Just refreshing the
@@ -202,7 +202,7 @@ void csFrame::OnIdle(wxIdleEvent& event)
 
         }
 #endif
-#endif
+#endif // __WXMSW__
     }
     event.Skip();
 }
@@ -277,4 +277,3 @@ void csMDIChildFrame::OnActivate(wxActivateEvent& event)
     layout.LayoutMDIFrame((wxMDIParentFrame*) GetParent());
 */
 }
-
index 660089a7fdf681001d53bc38c8d69a4896b53045..0eb6adee67986a5fed4465c103edd42a58f5874f 100644 (file)
@@ -88,12 +88,8 @@ protected:
 #if defined(__WXUNIVERSAL__)
     #include "wx/univ/gauge.h"
 #elif defined(__WXMSW__)
-    #ifdef __WIN95__
-        #include "wx/msw/gauge95.h"
-        #define wxGauge wxGauge95
-    #else // !__WIN95__
-        // Gauge no longer supported on 16-bit Windows
-    #endif
+    #include "wx/msw/gauge95.h"
+    #define wxGauge wxGauge95
 #elif defined(__WXMOTIF__)
     #include "wx/motif/gauge.h"
 #elif defined(__WXGTK__)
index 40d2c53959c33c0b87f2208ab39226cc4158b142..16c74194226abd43dc732ebfe11567d25b967c57 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        control.h
+// Name:        wx/msw/control.h
 // Purpose:     wxControl class
 // Author:      Julian Smart
 // Modified by:
@@ -56,9 +56,7 @@ public:
     bool ProcessCommand(wxCommandEvent& event);
 
     // MSW-specific
-#ifdef __WIN95__
     virtual bool MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result);
-#endif // Win95
 
     // For ownerdraw items
     virtual bool MSWOnDraw(WXDRAWITEMSTRUCT *WXUNUSED(item)) { return false; };
index a05c4e14ded9077f33fe41659e07b6174f7ca1cf..95b128084c3b6d22a6c75181e5649f3083e0ead0 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        helpbest.h
+// Name:        wx/msw/helpbest.h
 // Purpose:     Tries to load MS HTML Help, falls back to wxHTML upon failure
 // Author:      Mattia Barbon
 // Modified by:
@@ -12,7 +12,7 @@
 #ifndef _WX_HELPBEST_H_
 #define _WX_HELPBEST_H_
 
-#if wxUSE_HELP && wxUSE_MS_HTML_HELP && defined(__WIN95__) \
+#if wxUSE_HELP && wxUSE_MS_HTML_HELP \
     && wxUSE_WXHTML_HELP && !defined(__WXUNIVERSAL__)
 
 #include "wx/helpbase.h"
@@ -118,7 +118,7 @@ protected:
     DECLARE_NO_COPY_CLASS(wxBestHelpController)
 };
 
-#endif // wxUSE_HELP && wxUSE_MS_HTML_HELP && defined(__WIN95__) && wxUSE_WXHTML_HELP
+#endif // wxUSE_HELP && wxUSE_MS_HTML_HELP && wxUSE_WXHTML_HELP
 
 #endif
     // _WX_HELPBEST_H_
index 01fed31008329b97f845b4539b6ea1051ca836a4..24dad15d5f873ad4a8c5de786d802ff7136c7598 100644 (file)
@@ -270,9 +270,7 @@ public:
                              WXWORD pos, WXHWND control);
 
     // child control notifications
-#ifdef __WIN95__
     virtual bool MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result);
-#endif // __WIN95__
 
     // owner-drawn controls need to process these messages
     virtual bool MSWOnDrawItem(int id, WXDRAWITEMSTRUCT *item);
@@ -485,10 +483,7 @@ private:
     bool HandleMove(int x, int y);
     bool HandleMoving(wxRect& rect);
     bool HandleJoystickEvent(WXUINT msg, int x, int y, WXUINT flags);
-
-#ifdef __WIN95__
     bool HandleNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result);
-#endif // __WIN95__
 
     // list of disabled children before last call to our Disable()
     wxWindowList *m_childrenDisabled;
index 725e6a99cb419b7677d823aa752e92ca802f9f3a..aa6c716c03370a3bf2c3950eaafbfd189a7b3353 100644 (file)
 
 #    ifndef __WIN32__
 #        define __WIN32__
-#    endif
-
-    /* this means Win95-style UI, i.e. Win9x/NT 4+: always true now */
-#    if !defined(__WIN95__)
-#        define __WIN95__
 #    endif
 #endif /* Win32 */
 
 #   endif
 #endif
 
-#ifdef __WINE__
-#   ifndef __WIN95__
-#       define __WIN95__
-#   endif
-#endif /* WINE */
-
 /* detect MS SmartPhone */
 #if defined( WIN32_PLATFORM_WFSP )
 #   ifndef __SMARTPHONE__
index 64e9f1ebae5f7ad6211e4d93c7f14c9cfa345025..d2f817ad7792bc712dc6cf1bf7d5292972c4b6a8 100644 (file)
@@ -74,7 +74,7 @@ protected:
 
 #if defined(__WXUNIVERSAL__)
     #include "wx/univ/spinbutt.h"
-#elif defined(__WXMSW__) && defined(__WIN95__)
+#elif defined(__WXMSW__)
     #include "wx/msw/spinbutt.h"
 #elif defined(__WXMOTIF__)
     #include "wx/motif/spinbutt.h"