__WIN95__ removed (used to differ win3.1 vs. 'modern' 95 look, nowadays always defined for WXMSW so useless). Minor cleanings and corrections for correct #includes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
// Name: mainfrm.cpp
|
// Name: ogl/stufio/mainfrm.cpp
|
||||||
// Purpose: Studio main frame
|
// Purpose: Studio main frame
|
||||||
// Author: Julian Smart
|
// Author: Julian Smart
|
||||||
// Modified by:
|
// Modified by:
|
||||||
@@ -184,7 +184,7 @@ void csFrame::OnIdle(wxIdleEvent& event)
|
|||||||
wxLayoutAlgorithm layout;
|
wxLayoutAlgorithm layout;
|
||||||
layout.LayoutMDIFrame(this);
|
layout.LayoutMDIFrame(this);
|
||||||
|
|
||||||
#if defined(__WXMSW__) && defined(__WIN95__)
|
#if defined(__WXMSW__)
|
||||||
// Need to do something else to get it to refresh properly
|
// Need to do something else to get it to refresh properly
|
||||||
// when a client frame is first displayed; moving the client
|
// when a client frame is first displayed; moving the client
|
||||||
// window doesn't cause the proper refresh. Just refreshing the
|
// window doesn't cause the proper refresh. Just refreshing the
|
||||||
@@ -202,7 +202,7 @@ void csFrame::OnIdle(wxIdleEvent& event)
|
|||||||
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif // __WXMSW__
|
||||||
}
|
}
|
||||||
event.Skip();
|
event.Skip();
|
||||||
}
|
}
|
||||||
@@ -277,4 +277,3 @@ void csMDIChildFrame::OnActivate(wxActivateEvent& event)
|
|||||||
layout.LayoutMDIFrame((wxMDIParentFrame*) GetParent());
|
layout.LayoutMDIFrame((wxMDIParentFrame*) GetParent());
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -88,12 +88,8 @@ protected:
|
|||||||
#if defined(__WXUNIVERSAL__)
|
#if defined(__WXUNIVERSAL__)
|
||||||
#include "wx/univ/gauge.h"
|
#include "wx/univ/gauge.h"
|
||||||
#elif defined(__WXMSW__)
|
#elif defined(__WXMSW__)
|
||||||
#ifdef __WIN95__
|
#include "wx/msw/gauge95.h"
|
||||||
#include "wx/msw/gauge95.h"
|
#define wxGauge wxGauge95
|
||||||
#define wxGauge wxGauge95
|
|
||||||
#else // !__WIN95__
|
|
||||||
// Gauge no longer supported on 16-bit Windows
|
|
||||||
#endif
|
|
||||||
#elif defined(__WXMOTIF__)
|
#elif defined(__WXMOTIF__)
|
||||||
#include "wx/motif/gauge.h"
|
#include "wx/motif/gauge.h"
|
||||||
#elif defined(__WXGTK__)
|
#elif defined(__WXGTK__)
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
// Name: control.h
|
// Name: wx/msw/control.h
|
||||||
// Purpose: wxControl class
|
// Purpose: wxControl class
|
||||||
// Author: Julian Smart
|
// Author: Julian Smart
|
||||||
// Modified by:
|
// Modified by:
|
||||||
@@ -56,9 +56,7 @@ public:
|
|||||||
bool ProcessCommand(wxCommandEvent& event);
|
bool ProcessCommand(wxCommandEvent& event);
|
||||||
|
|
||||||
// MSW-specific
|
// MSW-specific
|
||||||
#ifdef __WIN95__
|
|
||||||
virtual bool MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result);
|
virtual bool MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result);
|
||||||
#endif // Win95
|
|
||||||
|
|
||||||
// For ownerdraw items
|
// For ownerdraw items
|
||||||
virtual bool MSWOnDraw(WXDRAWITEMSTRUCT *WXUNUSED(item)) { return false; };
|
virtual bool MSWOnDraw(WXDRAWITEMSTRUCT *WXUNUSED(item)) { return false; };
|
||||||
|
@@ -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
|
// Purpose: Tries to load MS HTML Help, falls back to wxHTML upon failure
|
||||||
// Author: Mattia Barbon
|
// Author: Mattia Barbon
|
||||||
// Modified by:
|
// Modified by:
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
#ifndef _WX_HELPBEST_H_
|
#ifndef _WX_HELPBEST_H_
|
||||||
#define _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__)
|
&& wxUSE_WXHTML_HELP && !defined(__WXUNIVERSAL__)
|
||||||
|
|
||||||
#include "wx/helpbase.h"
|
#include "wx/helpbase.h"
|
||||||
@@ -118,7 +118,7 @@ protected:
|
|||||||
DECLARE_NO_COPY_CLASS(wxBestHelpController)
|
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
|
#endif
|
||||||
// _WX_HELPBEST_H_
|
// _WX_HELPBEST_H_
|
||||||
|
@@ -270,9 +270,7 @@ public:
|
|||||||
WXWORD pos, WXHWND control);
|
WXWORD pos, WXHWND control);
|
||||||
|
|
||||||
// child control notifications
|
// child control notifications
|
||||||
#ifdef __WIN95__
|
|
||||||
virtual bool MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result);
|
virtual bool MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result);
|
||||||
#endif // __WIN95__
|
|
||||||
|
|
||||||
// owner-drawn controls need to process these messages
|
// owner-drawn controls need to process these messages
|
||||||
virtual bool MSWOnDrawItem(int id, WXDRAWITEMSTRUCT *item);
|
virtual bool MSWOnDrawItem(int id, WXDRAWITEMSTRUCT *item);
|
||||||
@@ -485,10 +483,7 @@ private:
|
|||||||
bool HandleMove(int x, int y);
|
bool HandleMove(int x, int y);
|
||||||
bool HandleMoving(wxRect& rect);
|
bool HandleMoving(wxRect& rect);
|
||||||
bool HandleJoystickEvent(WXUINT msg, int x, int y, WXUINT flags);
|
bool HandleJoystickEvent(WXUINT msg, int x, int y, WXUINT flags);
|
||||||
|
|
||||||
#ifdef __WIN95__
|
|
||||||
bool HandleNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result);
|
bool HandleNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result);
|
||||||
#endif // __WIN95__
|
|
||||||
|
|
||||||
// list of disabled children before last call to our Disable()
|
// list of disabled children before last call to our Disable()
|
||||||
wxWindowList *m_childrenDisabled;
|
wxWindowList *m_childrenDisabled;
|
||||||
|
@@ -115,11 +115,6 @@
|
|||||||
|
|
||||||
# ifndef __WIN32__
|
# ifndef __WIN32__
|
||||||
# define __WIN32__
|
# define __WIN32__
|
||||||
# endif
|
|
||||||
|
|
||||||
/* this means Win95-style UI, i.e. Win9x/NT 4+: always true now */
|
|
||||||
# if !defined(__WIN95__)
|
|
||||||
# define __WIN95__
|
|
||||||
# endif
|
# endif
|
||||||
#endif /* Win32 */
|
#endif /* Win32 */
|
||||||
|
|
||||||
@@ -129,12 +124,6 @@
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __WINE__
|
|
||||||
# ifndef __WIN95__
|
|
||||||
# define __WIN95__
|
|
||||||
# endif
|
|
||||||
#endif /* WINE */
|
|
||||||
|
|
||||||
/* detect MS SmartPhone */
|
/* detect MS SmartPhone */
|
||||||
#if defined( WIN32_PLATFORM_WFSP )
|
#if defined( WIN32_PLATFORM_WFSP )
|
||||||
# ifndef __SMARTPHONE__
|
# ifndef __SMARTPHONE__
|
||||||
|
@@ -74,7 +74,7 @@ protected:
|
|||||||
|
|
||||||
#if defined(__WXUNIVERSAL__)
|
#if defined(__WXUNIVERSAL__)
|
||||||
#include "wx/univ/spinbutt.h"
|
#include "wx/univ/spinbutt.h"
|
||||||
#elif defined(__WXMSW__) && defined(__WIN95__)
|
#elif defined(__WXMSW__)
|
||||||
#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