Getting wxMicroWindows compiled again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -58,8 +58,11 @@
|
|||||||
#endif // Windows
|
#endif // Windows
|
||||||
|
|
||||||
// may be defined to 0 for old behavior (using wxMessageBox) - shouldn't be
|
// may be defined to 0 for old behavior (using wxMessageBox) - shouldn't be
|
||||||
// changed normally (that's why it's here and not in setup.h)
|
// changed normally (that's why it's here and not in setup.h).
|
||||||
|
// Actually it now is in setup.h.
|
||||||
|
#ifndef wxUSE_LOG_DIALOG
|
||||||
#define wxUSE_LOG_DIALOG 1
|
#define wxUSE_LOG_DIALOG 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if wxUSE_LOG_DIALOG
|
#if wxUSE_LOG_DIALOG
|
||||||
#include "wx/listctrl.h"
|
#include "wx/listctrl.h"
|
||||||
@@ -340,7 +343,7 @@ void wxLogGui::DoLog(wxLogLevel level, const wxChar *szString, time_t t)
|
|||||||
case wxLOG_Debug:
|
case wxLOG_Debug:
|
||||||
#ifdef __WXDEBUG__
|
#ifdef __WXDEBUG__
|
||||||
{
|
{
|
||||||
#ifdef __WXMSW__
|
#if defined(__WXMSW__) && !defined(__WXMICROWIN__)
|
||||||
// don't prepend debug/trace here: it goes to the
|
// don't prepend debug/trace here: it goes to the
|
||||||
// debug window anyhow, but do put a timestamp
|
// debug window anyhow, but do put a timestamp
|
||||||
wxString str;
|
wxString str;
|
||||||
|
@@ -51,7 +51,7 @@ GENERICOBJS = \
|
|||||||
$(GENDIR)/panelg.$(OBJSUFF) \
|
$(GENDIR)/panelg.$(OBJSUFF) \
|
||||||
$(GENDIR)/progdlgg.$(OBJSUFF) \
|
$(GENDIR)/progdlgg.$(OBJSUFF) \
|
||||||
$(GENDIR)/sashwin.$(OBJSUFF) \
|
$(GENDIR)/sashwin.$(OBJSUFF) \
|
||||||
$(GENDIR)/scrolwin.$(OBJSUFF) \
|
$(GENDIR)/scrlwing.$(OBJSUFF) \
|
||||||
$(GENDIR)/spinctlg.$(OBJSUFF) \
|
$(GENDIR)/spinctlg.$(OBJSUFF) \
|
||||||
$(GENDIR)/splash.$(OBJSUFF) \
|
$(GENDIR)/splash.$(OBJSUFF) \
|
||||||
$(GENDIR)/splitter.$(OBJSUFF) \
|
$(GENDIR)/splitter.$(OBJSUFF) \
|
||||||
|
@@ -2076,9 +2076,11 @@ long wxWindowMSW::MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lParam
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
#ifndef __WXMICROWIN__
|
||||||
case WM_ACTIVATEAPP:
|
case WM_ACTIVATEAPP:
|
||||||
wxTheApp->SetActive(wParam != 0, FindFocus());
|
wxTheApp->SetActive(wParam != 0, FindFocus());
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
|
|
||||||
case WM_ACTIVATE:
|
case WM_ACTIVATE:
|
||||||
{
|
{
|
||||||
|
@@ -44,6 +44,7 @@
|
|||||||
#include "wx/notebook.h"
|
#include "wx/notebook.h"
|
||||||
#include "wx/spinbutt.h"
|
#include "wx/spinbutt.h"
|
||||||
#include "wx/settings.h"
|
#include "wx/settings.h"
|
||||||
|
#include "wx/menu.h"
|
||||||
|
|
||||||
#include "wx/univ/scrtimer.h"
|
#include "wx/univ/scrtimer.h"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user