Remove MicroWindows support.
MicroWindows (aka Nano-X) support hasn’t been updated since 2010 and last work for it in wxWidgets happened more than 10 years ago.
This commit is contained in:
@@ -301,9 +301,5 @@ bool wxFrame::Enable(bool enable)
|
||||
{
|
||||
if (!wxFrameBase::Enable(enable))
|
||||
return false;
|
||||
#ifdef __WXMICROWIN__
|
||||
if (m_frameMenuBar)
|
||||
m_frameMenuBar->Enable(enable);
|
||||
#endif
|
||||
return true;
|
||||
}
|
||||
|
@@ -43,7 +43,7 @@
|
||||
#define WXDEBUG_SCROLLBAR
|
||||
#endif
|
||||
|
||||
#if defined(WXDEBUG_SCROLLBAR) && defined(__WXMSW__) && !defined(__WXMICROWIN__)
|
||||
#if defined(WXDEBUG_SCROLLBAR) && defined(__WXMSW__)
|
||||
#include "wx/msw/private.h"
|
||||
#endif
|
||||
|
||||
@@ -627,7 +627,7 @@ void wxScrollBar::UpdateThumb()
|
||||
dc.DrawRectangle(rect);
|
||||
|
||||
// under Unix we use "--sync" X option for this
|
||||
#if defined(__WXMSW__) && !defined(__WXMICROWIN__)
|
||||
#if defined(__WXMSW__)
|
||||
::GdiFlush();
|
||||
::Sleep(200);
|
||||
#endif // __WXMSW__
|
||||
|
@@ -51,7 +51,7 @@
|
||||
#define WXDEBUG_REFRESH
|
||||
#endif
|
||||
|
||||
#if defined(WXDEBUG_REFRESH) && defined(__WXMSW__) && !defined(__WXMICROWIN__)
|
||||
#if defined(WXDEBUG_REFRESH) && defined(__WXMSW__)
|
||||
#include "wx/msw/private.h"
|
||||
#endif
|
||||
|
||||
@@ -477,7 +477,7 @@ void wxWindow::Refresh(bool eraseBackground, const wxRect *rect)
|
||||
dc.DrawRectangle(rectWin);
|
||||
|
||||
// under Unix we use "--sync" X option for this
|
||||
#if defined(__WXMSW__) && !defined(__WXMICROWIN__)
|
||||
#if defined(__WXMSW__)
|
||||
::GdiFlush();
|
||||
::Sleep(200);
|
||||
#endif // __WXMSW__
|
||||
|
Reference in New Issue
Block a user