/////////////////////////////////////////////////////////////////////////////
-// Name: mainfrm.cpp
+// Name: ogl/stufio/mainfrm.cpp
// Purpose: Studio main frame
// Author: Julian Smart
// Modified by:
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
}
#endif
-#endif
+#endif // __WXMSW__
}
event.Skip();
}
layout.LayoutMDIFrame((wxMDIParentFrame*) GetParent());
*/
}
-
#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__)
/////////////////////////////////////////////////////////////////////////////
-// Name: control.h
+// Name: wx/msw/control.h
// Purpose: wxControl class
// Author: Julian Smart
// Modified by:
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; };
/////////////////////////////////////////////////////////////////////////////
-// 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:
#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"
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_
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);
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;
# 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__
#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"