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:
Julian Smart
2001-07-04 11:59:35 +00:00
parent d4af841d3b
commit 8a46f9b187
4 changed files with 9 additions and 3 deletions

View File

@@ -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;

View File

@@ -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) \

View File

@@ -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:
{ {

View File

@@ -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"