From 9ce43bfae9c8245d620c9bd7cca50b8fa9d88e38 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Mon, 25 Aug 2003 14:10:25 +0000 Subject: [PATCH] Fixes for WinCE git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/latex/wx/wx.hpj | 2 +- include/wx/app.h | 8 +++++++- include/wx/toolbar.h | 4 +++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/docs/latex/wx/wx.hpj b/docs/latex/wx/wx.hpj index 04f130ced3..07caa08bae 100644 --- a/docs/latex/wx/wx.hpj +++ b/docs/latex/wx/wx.hpj @@ -1,5 +1,5 @@ [OPTIONS] -BMROOT=c:\wx2dev\wxWindows\docs/latex/wx ; Assume that bitmaps are where the source is +BMROOT=c:\wx2dev\wxWind~1\docs/latex/wx ; Assume that bitmaps are where the source is TITLE=wxWindows Manual CONTENTS=Contents COMPRESS=HIGH diff --git a/include/wx/app.h b/include/wx/app.h index cc050b1d3d..07d930dff4 100644 --- a/include/wx/app.h +++ b/include/wx/app.h @@ -604,11 +604,17 @@ public: // we need HINSTANCE declaration to define WinMain() #include "wx/msw/wrapwin.h" + #ifdef SW_SHOWNORMAL + #define wxSW_SHOWNORMAL SW_SHOWNORMAL + #else + #define wxSW_SHOWNORMAL 0 + #endif + #define IMPLEMENT_WXWIN_MAIN \ extern int wxEntry(HINSTANCE hInstance, \ HINSTANCE hPrevInstance = NULL, \ char *pCmdLine = NULL, \ - int nCmdShow = SW_NORMAL); \ + int nCmdShow = wxSW_SHOWNORMAL); \ extern "C" int WINAPI WinMain(HINSTANCE hInstance, \ HINSTANCE hPrevInstance, \ char *lpCmdLine, \ diff --git a/include/wx/toolbar.h b/include/wx/toolbar.h index c2ba87c44a..4e1a581f47 100644 --- a/include/wx/toolbar.h +++ b/include/wx/toolbar.h @@ -55,7 +55,9 @@ enum #if wxUSE_TOOLBAR #include "wx/tbarbase.h" // the base class for all toolbars - #if !wxUSE_TOOLBAR_NATIVE && !defined(__WXUNIVERSAL__) + // Simple toolbar no longer available, so we will need to have + // a generic toolbar at some point (perhaps the wxUniv toolbar) + #if 0 // !wxUSE_TOOLBAR_NATIVE && !defined(__WXUNIVERSAL__) #include "wx/tbarsmpl.h" class WXDLLEXPORT wxToolBar : public wxToolBarSimple -- 2.45.2